I only corrected bugs to make things compile: some featured not implemented here yet.
authorathos
Tue, 27 Mar 2007 09:23:33 +0000
changeset 2415ef13597d249a
parent 2414 9e80927b7921
child 2416 261b4701405d
I only corrected bugs to make things compile: some featured not implemented here yet.
lemon/lp_cplex.cc
lemon/mip_cplex.cc
     1.1 --- a/lemon/lp_cplex.cc	Mon Mar 26 10:44:03 2007 +0000
     1.2 +++ b/lemon/lp_cplex.cc	Tue Mar 27 09:23:33 2007 +0000
     1.3 @@ -135,7 +135,7 @@
     1.4  			    &rowlist[0], &indices[0], &values[0]); 
     1.5    }
     1.6  
     1.7 -  void LpSoplex::_getRowCoeffs(int i, RowIterator b) const {
     1.8 +  void LpCplex::_getRowCoeffs(int i, RowIterator b) const {
     1.9      /// \todo implement
    1.10    }
    1.11    
    1.12 @@ -155,7 +155,7 @@
    1.13  			    &indices[0], &collist[0], &values[0]); 
    1.14    }
    1.15  
    1.16 -  void LpSoplex::_getColCoeffs(int i, ColIterator b) const {
    1.17 +  void LpCplex::_getColCoeffs(int i, ColIterator b) const {
    1.18      /// \todo implement
    1.19    }
    1.20    
    1.21 @@ -396,7 +396,7 @@
    1.22      Value objval;
    1.23      //method = CPXgetmethod (env, lp);
    1.24      //printf("CPXgetprobtype %d \n",CPXgetprobtype(env,lp));
    1.25 -    status = CPXgetobjval(env, lp, &objval);
    1.26 +    CPXgetobjval(env, lp, &objval);
    1.27      //printf("Objective value: %g \n",objval);
    1.28      return objval;
    1.29    }
     2.1 --- a/lemon/mip_cplex.cc	Mon Mar 26 10:44:03 2007 +0000
     2.2 +++ b/lemon/mip_cplex.cc	Tue Mar 27 09:23:33 2007 +0000
     2.3 @@ -61,7 +61,7 @@
     2.4    MipCplex::ColTypes MipCplex::_colType(int i) const {
     2.5      
     2.6      char ctype[1];
     2.7 -    status = CPXgetctype (env, lp, ctype, i, i);
     2.8 +    CPXgetctype (env, lp, ctype, i, i);
     2.9      switch (ctype[0]){
    2.10  
    2.11      case CPX_INTEGER:
    2.12 @@ -127,7 +127,7 @@
    2.13    
    2.14    MipCplex::Value MipCplex::_getPrimalValue() const {
    2.15      Value objval;
    2.16 -    status = CPXgetmipobjval(env, lp, &objval);
    2.17 +    CPXgetmipobjval(env, lp, &objval);
    2.18      return objval;
    2.19    }
    2.20  } //END OF NAMESPACE LEMON