MIP interface tested (and corrected) for cplex 9.0
authorathos
Mon, 02 Oct 2006 11:18:30 +0000
changeset 22260411ac8a2d87
parent 2225 bb3d5e6f9fcb
child 2227 809b18050520
MIP interface tested (and corrected) for cplex 9.0
lemon/mip_cplex.cc
     1.1 --- a/lemon/mip_cplex.cc	Fri Sep 29 11:36:30 2006 +0000
     1.2 +++ b/lemon/mip_cplex.cc	Mon Oct 02 11:18:30 2006 +0000
     1.3 @@ -32,7 +32,12 @@
     1.4  
     1.5      ///\todo The constant CPXPROB_MIP is
     1.6      ///called CPXPROB_MILP in later versions
     1.7 +#if CPX_VERSION < 800
     1.8      CPXchgprobtype( env,  lp, CPXPROB_MIP);
     1.9 +#else
    1.10 +    CPXchgprobtype( env,  lp, CPXPROB_MILP);
    1.11 +#endif
    1.12 +
    1.13    }
    1.14  
    1.15    void MipCplex::_colType(int i, MipCplex::ColTypes col_type){