Consider the CPXMIP_OPTIMAL_TOL status as OPTIMAL too.
authorladanyi
Sat, 25 Aug 2007 10:12:03 +0000
changeset 2465df09310da558
parent 2464 d4bdbc35c927
child 2466 feb7974cf4ec
Consider the CPXMIP_OPTIMAL_TOL status as OPTIMAL too.
lemon/mip_cplex.cc
     1.1 --- a/lemon/mip_cplex.cc	Fri Aug 24 14:32:55 2007 +0000
     1.2 +++ b/lemon/mip_cplex.cc	Sat Aug 25 10:12:03 2007 +0000
     1.3 @@ -93,6 +93,10 @@
     1.4      switch (stat)
     1.5      {
     1.6        case CPXMIP_OPTIMAL:
     1.7 +        // Optimal integer solution has been found.
     1.8 +      case CPXMIP_OPTIMAL_TOL:
     1.9 +        // Optimal soluton with the tolerance defined by epgap or epagap has 
    1.10 +        // been found.
    1.11          return OPTIMAL;
    1.12  	//This also exists in later issues
    1.13  	//    case CPXMIP_UNBOUNDED: