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){