Silent glp_adv_basis() (#255)
authorBalazs Dezso <deba@inf.elte.hu>
Thu, 02 Apr 2009 19:29:56 +0200
changeset 566e7017ec2d5cd
parent 565 7ab97e2a0c33
child 567 3314f58e7b25
Silent glp_adv_basis() (#255)
lemon/glpk.cc
     1.1 --- a/lemon/glpk.cc	Wed Apr 01 22:54:00 2009 +0200
     1.2 +++ b/lemon/glpk.cc	Thu Apr 02 19:29:56 2009 +0200
     1.3 @@ -586,8 +586,9 @@
     1.4      case GLP_EBADB:
     1.5      case GLP_ESING:
     1.6      case GLP_ECOND:
     1.7 -      lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
     1.8 +      glp_term_out(false);
     1.9        glp_adv_basis(lp, 0);
    1.10 +      glp_term_out(true);
    1.11        if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
    1.12        break;
    1.13      default:
    1.14 @@ -628,8 +629,9 @@
    1.15      case GLP_EBADB:
    1.16      case GLP_ESING:
    1.17      case GLP_ECOND:
    1.18 -      lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
    1.19 +      glp_term_out(false);
    1.20        glp_adv_basis(lp, 0);
    1.21 +      glp_term_out(true);
    1.22        if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
    1.23        break;
    1.24      default:
    1.25 @@ -922,8 +924,9 @@
    1.26      case GLP_EBADB:
    1.27      case GLP_ESING:
    1.28      case GLP_ECOND:
    1.29 -      lpx_set_int_parm(lp, LPX_K_MSGLEV, smcp.msg_lev);
    1.30 +      glp_term_out(false);
    1.31        glp_adv_basis(lp, 0);
    1.32 +      glp_term_out(true);
    1.33        if (glp_simplex(lp, &smcp) != 0) return UNSOLVED;
    1.34        break;
    1.35      default: