# HG changeset patch # User ladanyi # Date 1188036723 0 # Node ID df09310da558a7034f3b2f25f2a36e3146cae20c # Parent d4bdbc35c9272a5ea803d4b07b24573986d1f4df Consider the CPXMIP_OPTIMAL_TOL status as OPTIMAL too. diff -r d4bdbc35c927 -r df09310da558 lemon/mip_cplex.cc --- a/lemon/mip_cplex.cc Fri Aug 24 14:32:55 2007 +0000 +++ b/lemon/mip_cplex.cc Sat Aug 25 10:12:03 2007 +0000 @@ -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: