changeset 1860 | 27a9a75b957b |
parent 1787 | 932b8490caf0 |
child 1875 | 98698b69a902 |
9:be84f8800a8c | 10:5ae1614d746c |
---|---|
416 } |
416 } |
417 |
417 |
418 LpGlpk::Value LpGlpk::_getPrimalValue() |
418 LpGlpk::Value LpGlpk::_getPrimalValue() |
419 { |
419 { |
420 return lpx_get_obj_val(lp); |
420 return lpx_get_obj_val(lp); |
421 } |
|
422 bool LpGlpk::_isBasicCol(int i) { |
|
423 return (lpx_get_col_stat(lp, i)==LPX_BS); |
|
421 } |
424 } |
422 |
425 |
423 |
426 |
424 LpGlpk::SolutionStatus LpGlpk::_getPrimalStatus() |
427 LpGlpk::SolutionStatus LpGlpk::_getPrimalStatus() |
425 { |
428 { |