lemon/lp_glpk.cc
changeset 2346 c06a956a92fa
parent 2328 b4931ae52069
child 2349 c945f577a66d
equal deleted inserted replaced
19:5fdda2e0d5e0 20:96485f163a82
   524 //     }
   524 //     }
   525 //   }
   525 //   }
   526 
   526 
   527   LpGlpk::SolveExitStatus LpGlpk::_solve()
   527   LpGlpk::SolveExitStatus LpGlpk::_solve()
   528   {
   528   {
       
   529     // A way to check the problem to be solved
       
   530     //lpx_write_cpxlp(lp,"naittvan.cpx");    
       
   531 
   529     int i =  lpx_simplex(lp);
   532     int i =  lpx_simplex(lp);
   530     switch (i) {
   533     switch (i) {
   531     case LPX_E_OK: 
   534     case LPX_E_OK: 
   532       return SOLVED;
   535       return SOLVED;
   533     default:
   536     default: