COIN-OR::LEMON - Graph Library

Changeset 1464:718207d6a1e6 in lemon-0.x for lemon/lp_glpk.cc


Ignore:
Timestamp:
06/09/05 17:22:40 (19 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1944
Message:

Bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_glpk.cc

    r1463 r1464  
    468468    int statp=  lpx_get_prim_stat(lp);
    469469    int statd=  lpx_get_dual_stat(lp);
    470     if (statp==LP_P_FEAS && statd==LP_D_FEAS)
     470    if (statp==LPX_P_FEAS && statd==LPX_D_FEAS)
    471471        return PRIMAL_DUAL_FEASIBLE;
    472     if (statp==LP_P_FEAS && statd==LP_D_NOFEAS)
     472    if (statp==LPX_P_FEAS && statd==LPX_D_NOFEAS)
    473473        return PRIMAL_FEASIBLE_DUAL_INFEASIBLE;
    474     if (statp==LP_P_NOFEAS && statd==LP_D_FEAS)
     474    if (statp==LPX_P_NOFEAS && statd==LPX_D_FEAS)
    475475        return PRIMAL_INFEASIBLE_DUAL_FEASIBLE;
    476     if (statp==LP_P_NOFEAS && statd==LP_D_NOFEAS)
     476    if (statp==LPX_P_NOFEAS && statd==LPX_D_NOFEAS)
    477477        return PRIMAL_DUAL_INFEASIBLE;
    478478    //In all other cases
Note: See TracChangeset for help on using the changeset viewer.