# HG changeset patch # User athos # Date 1118330560 0 # Node ID 718207d6a1e6a34fd7c051cfdefb4572e67b0667 # Parent e8d27c74bd3b413f83757c86849acc691b0463e4 Bugfix. diff -r e8d27c74bd3b -r 718207d6a1e6 lemon/lp_glpk.cc --- a/lemon/lp_glpk.cc Thu Jun 09 15:20:30 2005 +0000 +++ b/lemon/lp_glpk.cc Thu Jun 09 15:22:40 2005 +0000 @@ -467,13 +467,13 @@ //int stat= lpx_get_status(lp); int statp= lpx_get_prim_stat(lp); int statd= lpx_get_dual_stat(lp); - if (statp==LP_P_FEAS && statd==LP_D_FEAS) + if (statp==LPX_P_FEAS && statd==LPX_D_FEAS) return PRIMAL_DUAL_FEASIBLE; - if (statp==LP_P_FEAS && statd==LP_D_NOFEAS) + if (statp==LPX_P_FEAS && statd==LPX_D_NOFEAS) return PRIMAL_FEASIBLE_DUAL_INFEASIBLE; - if (statp==LP_P_NOFEAS && statd==LP_D_FEAS) + if (statp==LPX_P_NOFEAS && statd==LPX_D_FEAS) return PRIMAL_INFEASIBLE_DUAL_FEASIBLE; - if (statp==LP_P_NOFEAS && statd==LP_D_NOFEAS) + if (statp==LPX_P_NOFEAS && statd==LPX_D_NOFEAS) return PRIMAL_DUAL_INFEASIBLE; //In all other cases return UNKNOWN;