> I have a problem with setting the message level:
> 
> lpx_set_int_parm(lp, LPX_K_MSGLEV, 1);
> 
> works fine if lpx_simplex(lp) is invoked. If i call lpx_interior(lp)
> instead, it has no effect on the message level.
> 
> Could anyone help me, please?

You can use the following fragment:

static int foobar(void *info, char *buf) { return 1; }

...

      /* disable output from glpk api routines */
      _glp_lib_print_hook(foobar, NULL);
...

      /* enable output from glpk api routines */
      _glp_lib_print_hook(NULL, NULL);

(Please note that _glp_lib_print_hook is not prototyped in 4.14.)



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

Reply via email to