[Lemon-commits] [lemon_svn] athos: r2966 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 21:51:31 CET 2006


Author: athos
Date: Mon Oct  2 13:18:30 2006
New Revision: 2966

Modified:
   hugo/trunk/lemon/mip_cplex.cc

Log:
MIP interface tested (and corrected) for cplex 9.0

Modified: hugo/trunk/lemon/mip_cplex.cc
==============================================================================
--- hugo/trunk/lemon/mip_cplex.cc	(original)
+++ hugo/trunk/lemon/mip_cplex.cc	Mon Oct  2 13:18:30 2006
@@ -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){



More information about the Lemon-commits mailing list