summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_LinCLP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sci_gateway/cpp/sci_LinCLP.cpp')
-rw-r--r--sci_gateway/cpp/sci_LinCLP.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci_gateway/cpp/sci_LinCLP.cpp b/sci_gateway/cpp/sci_LinCLP.cpp
index 7996bfc..41f004d 100644
--- a/sci_gateway/cpp/sci_LinCLP.cpp
+++ b/sci_gateway/cpp/sci_LinCLP.cpp
@@ -26,7 +26,7 @@ LinCLP::~LinCLP()
free(lb_);
free(ub_);
free(xValue_);
- free(reducedCost_);
+ free(Zl_);
free(dual_);}
//Clp Solver function definition
@@ -104,8 +104,8 @@ LinCLP::LinCLP(int numVars_ , int numCons_ ,double objMatrix_[] , double conMatr
//get lower vector
const double* LinCLP::getReducedCost()
{
- reducedCost_ = si->getReducedCost();
- return reducedCost_;
+ Zl_ = si->getReducedCost();
+ return Zl_;
}
//get dual vector