Changeset 1466:65f8b0ee6306 in lemon-0.x for lemon/lp_glpk.cc
- Timestamp:
- 06/09/05 18:26:52 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1946
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_glpk.cc
r1464 r1466 440 440 LpGlpk::SolutionStatus LpGlpk::_getDualStatus() 441 441 { 442 int stat= lpx_get_dual_stat(lp); 443 switch (stat) { 442 switch (lpx_get_dual_stat(lp)) { 444 443 case LPX_D_UNDEF://Undefined (no solve has been run yet) 445 444 return UNDEFINED; … … 448 447 return INFEASIBLE; 449 448 case LPX_FEAS://Feasible 450 int stat2= lpx_get_prim_stat(lp); 451 switch (stat2){ 449 switch (lpx_get_prim_stat(lp)) { 452 450 case LPX_P_NOFEAS: 453 451 return INFINITE;
Note: See TracChangeset
for help on using the changeset viewer.