To disable terminal output use:

glp_term_out(GLP_OFF);

I do not see the problem with your code but you could try this:

glp_smcp parm;
glp_init_smcp(&parm);
parm.msg_lev = GLP_MSG_OFF;
glp_simplex(lp, &parm);

Alternatively (see also section "Install hook to intercept terminal
output" in the Reference Manual):

http://lists.gnu.org/archive/html/help-glpk/2007-02/msg00029.html

Good luck,

Ali


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to