COIN-OR::LEMON - Graph Library

Changeset 1466:65f8b0ee6306 in lemon-0.x for lemon/lp_glpk.cc


Ignore:
Timestamp:
06/09/05 18:26:52 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1946
Message:

Another bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_glpk.cc

    r1464 r1466  
    440440  LpGlpk::SolutionStatus LpGlpk::_getDualStatus()
    441441  {
    442     int stat=  lpx_get_dual_stat(lp);
    443     switch (stat) {
     442    switch (lpx_get_dual_stat(lp)) {
    444443    case LPX_D_UNDEF://Undefined (no solve has been run yet)
    445444      return UNDEFINED;
     
    448447      return INFEASIBLE;
    449448    case LPX_FEAS://Feasible   
    450       int stat2=  lpx_get_prim_stat(lp);
    451       switch (stat2){
     449      switch (lpx_get_prim_stat(lp)) {
    452450      case LPX_P_NOFEAS:
    453451        return INFINITE;
Note: See TracChangeset for help on using the changeset viewer.