[Lemon-commits] [lemon_svn] athos: r1944 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:48:58 CET 2006


Author: athos
Date: Thu Jun  9 17:22:40 2005
New Revision: 1944

Modified:
   hugo/trunk/lemon/lp_glpk.cc

Log:
Bugfix.

Modified: hugo/trunk/lemon/lp_glpk.cc
==============================================================================
--- hugo/trunk/lemon/lp_glpk.cc	(original)
+++ hugo/trunk/lemon/lp_glpk.cc	Thu Jun  9 17:22:40 2005
@@ -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;



More information about the Lemon-commits mailing list