[Pkg-scicomp-devel] Bug#439147: Bug#439147: libglpk0: some routines emit messages even with GLP_MSG_OFF set

Rafael Laboissiere rafael at debian.org
Mon Aug 27 11:57:33 UTC 2007


* Andrew Makhorin <mao at gnu.org> [2007-08-27 00:50]:

> This is not a bug. The message level option passed to either the lp
> solver glp_simplex or mip solver glp_intopt does not affect the output
> from other glpk routines. In glpk 4.20 one can use the routine
> glp_term_hook to redirect (or disable) terminal output. However, in
> 4.21 for convenience sake I added another api routine, glp_term_out,
> to enable/disable terminal output performed by all glpk routines.

Thanks for your comments.  I think that the GLPK manual should be adjusted
in order to reflect the above.  At two different places, I read:

    Message level for terminal output:
      GLP_MSG_OFF --- no output;
      GLP_MSG_ERR --- error and warning messages only;
      GLP_MSG_ON  --- normal output;
      GLP_MSG_ALL --- full output (including informational messages).

Could you please propose a patch to be applied to the Debian package such
that the bug report can be closed?

Thanks,

-- 
Rafael




More information about the Pkg-scicomp-devel mailing list