summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci_gateway/cpp/sci_LinProg.cpp5
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();