Bugfix.
1.1 --- a/lemon/lp_glpk.cc Thu Jun 09 15:20:30 2005 +0000
1.2 +++ b/lemon/lp_glpk.cc Thu Jun 09 15:22:40 2005 +0000
1.3 @@ -467,13 +467,13 @@
1.4 //int stat= lpx_get_status(lp);
1.5 int statp= lpx_get_prim_stat(lp);
1.6 int statd= lpx_get_dual_stat(lp);
1.7 - if (statp==LP_P_FEAS && statd==LP_D_FEAS)
1.8 + if (statp==LPX_P_FEAS && statd==LPX_D_FEAS)
1.9 return PRIMAL_DUAL_FEASIBLE;
1.10 - if (statp==LP_P_FEAS && statd==LP_D_NOFEAS)
1.11 + if (statp==LPX_P_FEAS && statd==LPX_D_NOFEAS)
1.12 return PRIMAL_FEASIBLE_DUAL_INFEASIBLE;
1.13 - if (statp==LP_P_NOFEAS && statd==LP_D_FEAS)
1.14 + if (statp==LPX_P_NOFEAS && statd==LPX_D_FEAS)
1.15 return PRIMAL_INFEASIBLE_DUAL_FEASIBLE;
1.16 - if (statp==LP_P_NOFEAS && statd==LP_D_NOFEAS)
1.17 + if (statp==LPX_P_NOFEAS && statd==LPX_D_NOFEAS)
1.18 return PRIMAL_DUAL_INFEASIBLE;
1.19 //In all other cases
1.20 return UNKNOWN;