[sdpb] 76/233: Now outputting correct free variable solution
Tobias Hansen
thansen at moszumanska.debian.org
Thu Mar 9 04:06:21 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 9f6c5cc6dae28f104a66c50408b3beb6ef6a0fff
Author: David Simmons-Duffin <dsd at neptune.sns.ias.edu>
Date: Mon Aug 11 22:51:02 2014 -0400
Now outputting correct free variable solution
---
src/SDPSolver.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/SDPSolver.cpp b/src/SDPSolver.cpp
index d1cac6c..d8300fe 100644
--- a/src/SDPSolver.cpp
+++ b/src/SDPSolver.cpp
@@ -100,7 +100,7 @@ SDPSolver::SDPSolver(const SDP &sdp):
Vector SDPSolver::freeVariableSolution() {
Vector solution(sdp.dualObjective.size());
for (unsigned int n = 0; n < solution.size(); n++) {
- solution[n] = x[basicIndices[n]];
+ solution[n] = dualResidues[basicIndices[n]];
}
solveWithLUDecomposition(FreeVarMatrixBasicLU, FreeVarMatrixBasicPivots, solution);
return solution;
--
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