# HG changeset patch # User Balazs Dezso # Date 2009-04-02 19:29:56 # Node ID e7017ec2d5cd298d9a7e835243c3bc3b4a280683 # Parent 7ab97e2a0c333d8ba2d701d0a18ddcfd898b58e9 Silent glp_adv_basis() (#255) 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: