diff -r 751a14b992f2 -r bfbdded3763a lemon/mip_cplex.cc --- a/lemon/mip_cplex.cc Fri Feb 16 15:57:48 2007 +0000 +++ b/lemon/mip_cplex.cc Fri Feb 16 19:11:31 2007 +0000 @@ -58,7 +58,7 @@ CPXchgctype (env, lp, 1, indices, ctype); } - MipCplex::ColTypes MipCplex::_colType(int i){ + MipCplex::ColTypes MipCplex::_colType(int i) const { char ctype[1]; status = CPXgetctype (env, lp, ctype, i, i); @@ -85,7 +85,7 @@ } - LpCplex::SolutionStatus MipCplex::_getMipStatus(){ + LpCplex::SolutionStatus MipCplex::_getMipStatus() const { int stat = CPXgetstat(env, lp); @@ -119,13 +119,13 @@ } - MipCplex::Value MipCplex::_getPrimal(int i){ + MipCplex::Value MipCplex::_getPrimal(int i) const { Value x; CPXgetmipx(env, lp, &x, i, i); return x; } - MipCplex::Value MipCplex::_getPrimalValue(){ + MipCplex::Value MipCplex::_getPrimalValue() const { Value objval; status = CPXgetmipobjval(env, lp, &objval); return objval;