From 9f3ca8b98840ba9dd78ad62dfef0653aedb1d4b1 Mon Sep 17 00:00:00 2001 From: Harpreet Date: Tue, 2 Feb 2016 12:43:07 +0530 Subject: linprog help updated --- sci_gateway/cpp/sci_LinProg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sci_gateway/cpp/sci_LinProg.cpp') diff --git a/sci_gateway/cpp/sci_LinProg.cpp b/sci_gateway/cpp/sci_LinProg.cpp index 8a4ec25..95538ec 100644 --- a/sci_gateway/cpp/sci_LinProg.cpp +++ b/sci_gateway/cpp/sci_LinProg.cpp @@ -130,7 +130,7 @@ int sci_linearprog(char *fname) double iterations = Prob->iterCount(); //get reduced cost - double* reducedCost = Prob->getReducedCost(); + double* Zl = Prob->getReducedCost(); //get dual vector double* dual = Prob->getDual(); @@ -139,7 +139,7 @@ int sci_linearprog(char *fname) returnDoubleMatrixToScilab(2 , 1 , 1 , &objValue); returnDoubleMatrixToScilab(3 , 1 , 1 , &status); returnDoubleMatrixToScilab(4 , 1 , 1 , &iterations); - returnDoubleMatrixToScilab(5 , 1 , nVars , reducedCost); + returnDoubleMatrixToScilab(5 , 1 , nVars , Zl); returnDoubleMatrixToScilab(6 , 1 , nCons , dual); } -- cgit