# HG changeset patch # User athos # Date 1159787910 0 # Node ID 0411ac8a2d877a40ecac1d12c8057ac9792437d8 # Parent bb3d5e6f9fcbbbaa0109d522285bd12fe50bfc37 MIP interface tested (and corrected) for cplex 9.0 diff -r bb3d5e6f9fcb -r 0411ac8a2d87 lemon/mip_cplex.cc --- a/lemon/mip_cplex.cc Fri Sep 29 11:36:30 2006 +0000 +++ b/lemon/mip_cplex.cc Mon Oct 02 11:18:30 2006 +0000 @@ -32,7 +32,12 @@ ///\todo The constant CPXPROB_MIP is ///called CPXPROB_MILP in later versions +#if CPX_VERSION < 800 CPXchgprobtype( env, lp, CPXPROB_MIP); +#else + CPXchgprobtype( env, lp, CPXPROB_MILP); +#endif + } void MipCplex::_colType(int i, MipCplex::ColTypes col_type){