diff -r 96b74270c3a1 -r 9269c76551cf src/lemon/lp_glpk.cc --- a/src/lemon/lp_glpk.cc Thu Apr 07 06:38:56 2005 +0000 +++ b/src/lemon/lp_glpk.cc Thu Apr 07 09:42:31 2005 +0000 @@ -257,7 +257,7 @@ LpGlpk::Value LpGlpk::_getPrimalValue() { - return 0; + return lpx_get_obj_val(lp); } @@ -290,10 +290,12 @@ void LpGlpk::_setMax() { - } + lpx_set_obj_dir(lp, LPX_MAX); + } void LpGlpk::_setMin() { - } + lpx_set_obj_dir(lp, LPX_MIN); + } } //END OF NAMESPACE LEMON