[Lemon-commits] Balazs Dezso: Silent glp_adv_basis() (#255)
Lemon HG
hg at lemon.cs.elte.hu
Mon Apr 6 08:08:20 CEST 2009
details: http://lemon.cs.elte.hu/hg/lemon/rev/e7017ec2d5cd
changeset: 598:e7017ec2d5cd
user: Balazs Dezso <deba [at] inf.elte.hu>
date: Thu Apr 02 19:29:56 2009 +0200
description:
Silent glp_adv_basis() (#255)
diffstat:
lemon/glpk.cc | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (36 lines):
diff --git a/lemon/glpk.cc b/lemon/glpk.cc
--- a/lemon/glpk.cc
+++ b/lemon/glpk.cc
@@ -586,8 +586,9 @@
case GLP_EBADB:
case GLP_ESING:
case GLP_ECOND:
- lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
+ glp_term_out(false);
glp_adv_basis(lp, 0);
+ glp_term_out(true);
if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
break;
default:
@@ -628,8 +629,9 @@
case GLP_EBADB:
case GLP_ESING:
case GLP_ECOND:
- lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
+ glp_term_out(false);
glp_adv_basis(lp, 0);
+ glp_term_out(true);
if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
break;
default:
@@ -922,8 +924,9 @@
case GLP_EBADB:
case GLP_ESING:
case GLP_ECOND:
- lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
+ glp_term_out(false);
glp_adv_basis(lp, 0);
+ glp_term_out(true);
if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
break;
default:
More information about the Lemon-commits
mailing list