1.1 --- a/lemon/mip_cplex.cc Fri Feb 16 15:57:48 2007 +0000
1.2 +++ b/lemon/mip_cplex.cc Fri Feb 16 19:11:31 2007 +0000
1.3 @@ -58,7 +58,7 @@
1.4 CPXchgctype (env, lp, 1, indices, ctype);
1.5 }
1.6
1.7 - MipCplex::ColTypes MipCplex::_colType(int i){
1.8 + MipCplex::ColTypes MipCplex::_colType(int i) const {
1.9
1.10 char ctype[1];
1.11 status = CPXgetctype (env, lp, ctype, i, i);
1.12 @@ -85,7 +85,7 @@
1.13 }
1.14
1.15
1.16 - LpCplex::SolutionStatus MipCplex::_getMipStatus(){
1.17 + LpCplex::SolutionStatus MipCplex::_getMipStatus() const {
1.18
1.19 int stat = CPXgetstat(env, lp);
1.20
1.21 @@ -119,13 +119,13 @@
1.22
1.23 }
1.24
1.25 - MipCplex::Value MipCplex::_getPrimal(int i){
1.26 + MipCplex::Value MipCplex::_getPrimal(int i) const {
1.27 Value x;
1.28 CPXgetmipx(env, lp, &x, i, i);
1.29 return x;
1.30 }
1.31
1.32 - MipCplex::Value MipCplex::_getPrimalValue(){
1.33 + MipCplex::Value MipCplex::_getPrimalValue() const {
1.34 Value objval;
1.35 status = CPXgetmipobjval(env, lp, &objval);
1.36 return objval;