Changeset 2324:18fc834761d9 in lemon-0.x for lemon/lp_glpk.cc
- Timestamp:
- 12/04/06 17:48:13 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3100
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_glpk.cc
r2321 r2324 214 214 } 215 215 216 LpGlpk::Value LpGlpk::_getCoeff(int row, int col) 217 { 218 ///\todo This is not yet implemented!!! 219 return 0; 220 } 221 222 216 223 void LpGlpk::_setColLowerBound(int i, Value lo) 217 224 { … … 423 430 //i=0 means the constant term (shift) 424 431 lpx_set_obj_coef(lp, i, obj_coef); 432 } 433 434 LpGlpk::Value LpGlpk::_getObjCoeff(int i){ 435 //i=0 means the constant term (shift) 436 return lpx_get_obj_coef(lp, i); 425 437 } 426 438 … … 552 564 } 553 565 566 bool LpGlpk::_isMax() 567 { 568 return (lpx_get_obj_dir(lp)==LPX_MAX); 569 } 570 554 571 572 555 573 void LpGlpk::messageLevel(int m) 556 574 {
Note: See TracChangeset
for help on using the changeset viewer.