[Lemon-commits] ladanyi: r3304 - lemon/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Sat Aug 25 12:12:04 CEST 2007
Author: ladanyi
Date: Sat Aug 25 12:12:03 2007
New Revision: 3304
Modified:
lemon/trunk/lemon/mip_cplex.cc
Log:
Consider the CPXMIP_OPTIMAL_TOL status as OPTIMAL too.
Modified: lemon/trunk/lemon/mip_cplex.cc
==============================================================================
--- lemon/trunk/lemon/mip_cplex.cc (original)
+++ lemon/trunk/lemon/mip_cplex.cc Sat Aug 25 12:12:03 2007
@@ -93,6 +93,10 @@
switch (stat)
{
case CPXMIP_OPTIMAL:
+ // Optimal integer solution has been found.
+ case CPXMIP_OPTIMAL_TOL:
+ // Optimal soluton with the tolerance defined by epgap or epagap has
+ // been found.
return OPTIMAL;
//This also exists in later issues
// case CPXMIP_UNBOUNDED:
More information about the Lemon-commits
mailing list