[sdpb] 114/233: removed Y,X from out files, initial comments
Tobias Hansen
thansen at moszumanska.debian.org
Thu Mar 9 04:06:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sdpb.
commit 594f693fd50c07f0c05ce558bb230affa779b404
Author: David Simmons-Duffin <dsd at athena.sns.ias.edu>
Date: Thu Dec 25 00:18:03 2014 -0500
removed Y,X from out files, initial comments
---
src/SDP.h | 4 ++++
src/SDPSolverIO.cpp | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/SDP.h b/src/SDP.h
index ad34952..7fa2112 100644
--- a/src/SDP.h
+++ b/src/SDP.h
@@ -22,6 +22,10 @@
using std::vector;
using std::ostream;
+// The constraint matrices A_* are labeled by tuples
+// (j_1,r_1,s_1,k_1), (j_2,r_2,s_2,k_2), ...
+// The corresponding IndexTuples are
+// IndexTuple(p=1,r=r_1,s=s_1,k=k_1), IndexTuple(p=2,r=r_2,s=s_2,k=k_2), ...
class IndexTuple {
public:
int p;
diff --git a/src/SDPSolverIO.cpp b/src/SDPSolverIO.cpp
index 05b5f9c..92d1fed 100644
--- a/src/SDPSolverIO.cpp
+++ b/src/SDPSolverIO.cpp
@@ -160,7 +160,7 @@ void SDPSolver::saveSolution(const SDPSolverTerminateReason terminateReason, con
ofs << "dualError = " << status.dualError << ";\n";
ofs << "runtime = " << runtime << ";\n";
ofs << "y = " << y << ";\n";
- ofs << "Y = " << Y << ";\n";
+ // ofs << "Y = " << Y << ";\n";
ofs << "x = " << x << ";\n";
- ofs << "X = " << X << ";\n";
+ // ofs << "X = " << X << ";\n";
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sdpb.git
More information about the debian-science-commits
mailing list