Another bugfix.
1.1 --- a/lemon/lp_glpk.cc Thu Jun 09 16:23:16 2005 +0000
1.2 +++ b/lemon/lp_glpk.cc Thu Jun 09 16:26:52 2005 +0000
1.3 @@ -439,16 +439,14 @@
1.4
1.5 LpGlpk::SolutionStatus LpGlpk::_getDualStatus()
1.6 {
1.7 - int stat= lpx_get_dual_stat(lp);
1.8 - switch (stat) {
1.9 + switch (lpx_get_dual_stat(lp)) {
1.10 case LPX_D_UNDEF://Undefined (no solve has been run yet)
1.11 return UNDEFINED;
1.12 case LPX_D_NOFEAS://There is no feasible solution (primal, I guess)
1.13 // case LPX_D_INFEAS://Infeasible
1.14 return INFEASIBLE;
1.15 case LPX_FEAS://Feasible
1.16 - int stat2= lpx_get_prim_stat(lp);
1.17 - switch (stat2){
1.18 + switch (lpx_get_prim_stat(lp)) {
1.19 case LPX_P_NOFEAS:
1.20 return INFINITE;
1.21 case LPX_OPT: