src/lemon/lp_glpk.cc
changeset 1315 c91ae3600eea
parent 1312 48f9299b390d
child 1321 bc3a4c498eb2
equal deleted inserted replaced
1:f53398d65850 2:cc22e5e8d894
   255     return lpx_get_col_prim(lp,i);
   255     return lpx_get_col_prim(lp,i);
   256   }
   256   }
   257   
   257   
   258   LpGlpk::Value LpGlpk::_getPrimalValue()
   258   LpGlpk::Value LpGlpk::_getPrimalValue()
   259   {
   259   {
   260     return 0;
   260     return lpx_get_obj_val(lp);
   261   }
   261   }
   262   
   262   
   263  
   263  
   264   LpGlpk::SolutionStatus LpGlpk::_getPrimalStatus()
   264   LpGlpk::SolutionStatus LpGlpk::_getPrimalStatus()
   265   {
   265   {
   288   }
   288   }
   289 
   289 
   290 
   290 
   291   void LpGlpk::_setMax()
   291   void LpGlpk::_setMax()
   292   {
   292   {
   293   }
   293       lpx_set_obj_dir(lp, LPX_MAX);
       
   294    }
   294   void LpGlpk::_setMin()
   295   void LpGlpk::_setMin()
   295   {
   296   {
   296   }
   297       lpx_set_obj_dir(lp, LPX_MIN);
       
   298    }
   297 
   299 
   298  
   300  
   299 } //END OF NAMESPACE LEMON
   301 } //END OF NAMESPACE LEMON
   300 
   302 
   301 #endif //LEMON_LP_GLPK_CC
   303 #endif //LEMON_LP_GLPK_CC