COIN-OR::LEMON - Graph Library

Changeset 1314:9269c76551cf in lemon-0.x for src/lemon


Ignore:
Timestamp:
04/07/05 11:42:31 (19 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1753
Message:

New functions in lp_glpk.cc. Sample file: lp_sample.cc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/lp_glpk.cc

    r1312 r1314  
    258258  LpGlpk::Value LpGlpk::_getPrimalValue()
    259259  {
    260     return 0;
     260    return lpx_get_obj_val(lp);
    261261  }
    262262 
     
    291291  void LpGlpk::_setMax()
    292292  {
    293   }
     293      lpx_set_obj_dir(lp, LPX_MAX);
     294   }
    294295  void LpGlpk::_setMin()
    295296  {
    296   }
     297      lpx_set_obj_dir(lp, LPX_MIN);
     298   }
    297299
    298300 
Note: See TracChangeset for help on using the changeset viewer.