equal
deleted
inserted
replaced
443 // std::cout<<"Itt a primal: "<<lpx_get_prim_stat(lp)<<std::endl; |
443 // std::cout<<"Itt a primal: "<<lpx_get_prim_stat(lp)<<std::endl; |
444 |
444 |
445 switch (lpx_get_dual_stat(lp)) { |
445 switch (lpx_get_dual_stat(lp)) { |
446 case LPX_D_UNDEF://Undefined (no solve has been run yet) |
446 case LPX_D_UNDEF://Undefined (no solve has been run yet) |
447 return UNDEFINED; |
447 return UNDEFINED; |
448 case LPX_D_NOFEAS://There is no feasible solution (primal, I guess) |
448 case LPX_D_NOFEAS://There is no dual feasible solution |
449 // case LPX_D_INFEAS://Infeasible |
449 // case LPX_D_INFEAS://Infeasible |
450 return INFEASIBLE; |
450 return INFEASIBLE; |
451 case LPX_D_FEAS://Feasible |
451 case LPX_D_FEAS://Feasible |
452 switch (lpx_get_status(lp)) { |
452 switch (lpx_get_status(lp)) { |
453 case LPX_NOFEAS: |
453 case LPX_NOFEAS: |