lemon/lp_glpk.cc
changeset 1608 d1b5a3cf8331
parent 1473 876c7b7f4dae
child 1787 932b8490caf0
equal deleted inserted replaced
7:80e145e999e7 8:64d5cd786fa2
   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: