# HG changeset patch # User athos # Date 1174987413 0 # Node ID ef13597d249a04e45956ec6c4d9f7551565235a6 # Parent 9e80927b792193d25efb89a9984ba359d6e7545f I only corrected bugs to make things compile: some featured not implemented here yet. diff -r 9e80927b7921 -r ef13597d249a lemon/lp_cplex.cc --- a/lemon/lp_cplex.cc Mon Mar 26 10:44:03 2007 +0000 +++ b/lemon/lp_cplex.cc Tue Mar 27 09:23:33 2007 +0000 @@ -135,7 +135,7 @@ &rowlist[0], &indices[0], &values[0]); } - void LpSoplex::_getRowCoeffs(int i, RowIterator b) const { + void LpCplex::_getRowCoeffs(int i, RowIterator b) const { /// \todo implement } @@ -155,7 +155,7 @@ &indices[0], &collist[0], &values[0]); } - void LpSoplex::_getColCoeffs(int i, ColIterator b) const { + void LpCplex::_getColCoeffs(int i, ColIterator b) const { /// \todo implement } @@ -396,7 +396,7 @@ Value objval; //method = CPXgetmethod (env, lp); //printf("CPXgetprobtype %d \n",CPXgetprobtype(env,lp)); - status = CPXgetobjval(env, lp, &objval); + CPXgetobjval(env, lp, &objval); //printf("Objective value: %g \n",objval); return objval; } diff -r 9e80927b7921 -r ef13597d249a lemon/mip_cplex.cc --- a/lemon/mip_cplex.cc Mon Mar 26 10:44:03 2007 +0000 +++ b/lemon/mip_cplex.cc Tue Mar 27 09:23:33 2007 +0000 @@ -61,7 +61,7 @@ MipCplex::ColTypes MipCplex::_colType(int i) const { char ctype[1]; - status = CPXgetctype (env, lp, ctype, i, i); + CPXgetctype (env, lp, ctype, i, i); switch (ctype[0]){ case CPX_INTEGER: @@ -127,7 +127,7 @@ MipCplex::Value MipCplex::_getPrimalValue() const { Value objval; - status = CPXgetmipobjval(env, lp, &objval); + CPXgetmipobjval(env, lp, &objval); return objval; } } //END OF NAMESPACE LEMON