diff options
author | Georgey | 2017-03-15 11:06:49 +0530 |
---|---|---|
committer | Georgey | 2017-03-15 11:06:49 +0530 |
commit | c4d3c162df7b998a62cce73fb9a74f4fef077171 (patch) | |
tree | df16498564599c778cfbf83c23fadd6ab3a63e3b | |
parent | e8457139d49d14e9dd456b7c7a87004fa4159307 (diff) | |
download | FOSSEE-Optimization-toolbox-c4d3c162df7b998a62cce73fb9a74f4fef077171.tar.gz FOSSEE-Optimization-toolbox-c4d3c162df7b998a62cce73fb9a74f4fef077171.tar.bz2 FOSSEE-Optimization-toolbox-c4d3c162df7b998a62cce73fb9a74f4fef077171.zip |
Removed the solution output on console meant for debug purposes from linprog
-rw-r--r-- | sci_gateway/cpp/sci_LinProg.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sci_gateway/cpp/sci_LinProg.cpp b/sci_gateway/cpp/sci_LinProg.cpp index f0f35fe..187d0da 100644 --- a/sci_gateway/cpp/sci_LinProg.cpp +++ b/sci_gateway/cpp/sci_LinProg.cpp @@ -142,10 +142,7 @@ int sci_linearprog(char *fname) //Output the solution to Scilab //get solution for x const double* xValue = si->getColSolution(); - for(int i=0;i<nVars;i++) - { - sciprint("%lf",xValue[i]); - } + //get objective value double objValue = si->getObjValue(); |