lemon/glpk.cc
changeset 579 d11bf7998905
parent 565 7ab97e2a0c33
child 576 745e182d0139
equal deleted inserted replaced
7:d654163c3b5e 8:ee8cdce4bd1d
   584     case 0:
   584     case 0:
   585       break;
   585       break;
   586     case GLP_EBADB:
   586     case GLP_EBADB:
   587     case GLP_ESING:
   587     case GLP_ESING:
   588     case GLP_ECOND:
   588     case GLP_ECOND:
   589       lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
   589       glp_term_out(false);
   590       glp_adv_basis(lp, 0);
   590       glp_adv_basis(lp, 0);
       
   591       glp_term_out(true);
   591       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   592       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   592       break;
   593       break;
   593     default:
   594     default:
   594       return UNSOLVED;
   595       return UNSOLVED;
   595     }
   596     }
   626     case 0:
   627     case 0:
   627       break;
   628       break;
   628     case GLP_EBADB:
   629     case GLP_EBADB:
   629     case GLP_ESING:
   630     case GLP_ESING:
   630     case GLP_ECOND:
   631     case GLP_ECOND:
   631       lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
   632       glp_term_out(false);
   632       glp_adv_basis(lp, 0);
   633       glp_adv_basis(lp, 0);
       
   634       glp_term_out(true);
   633       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   635       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   634       break;
   636       break;
   635     default:
   637     default:
   636       return UNSOLVED;
   638       return UNSOLVED;
   637     }
   639     }
   920     case 0:
   922     case 0:
   921       break;
   923       break;
   922     case GLP_EBADB:
   924     case GLP_EBADB:
   923     case GLP_ESING:
   925     case GLP_ESING:
   924     case GLP_ECOND:
   926     case GLP_ECOND:
   925       lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
   927       glp_term_out(false);
   926       glp_adv_basis(lp, 0);
   928       glp_adv_basis(lp, 0);
       
   929       glp_term_out(true);
   927       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   930       if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
   928       break;
   931       break;
   929     default:
   932     default:
   930       return UNSOLVED;
   933       return UNSOLVED;
   931     }
   934     }