[Pkg-scicomp-devel] Bug#439147: Bug#439147: libglpk0: some routines emit messages even with GLP_MSG_OFF set
Andrew Makhorin
mao at gnu.org
Sun Aug 26 20:50:52 UTC 2007
> package libglpk0
> tags 439147 upstream
> thanks
> Andrew,
> I am forwarding below a bug report filed against the glpk package in Debian.
> Please, confirm to us that the origin of the problem is indeed in the source
> files of the library.
> Thanks,
> Rafael
> * Peter T. Breuer <ptb at inv.it.uc3m.es> [2007-08-22 19:11]:
>> Package: libglpk0
>> Version: 4.20-1
>> Severity: normal
>>
>>
>> Having set parameters on the iocp and smcp structs first to GLP_MSG_ERR
>> and then GLP_MSG_OFF, I am still getting little extrusions on stdout or
>> stderr ...
>>
>> lpx_adv_basis: size of triangular part = 93
>> lpx_adv_basis: size of triangular part = 93
>>
>> It comes either from glp_simplex() or glp_intopt(). I haven't checked
>> which (I use and need both). Maybe both, since the messages are
>> always double. I presume it's a library routine making the noise.
>>
>>
>>
>> -- System Information:
>> Debian Release: lenny/sid
>> APT prefers testing
>> APT policy: (500, 'testing')
>> Architecture: i386 (i686)
>>
>> Kernel: Linux 2.6.15.3 (PREEMPT)
>> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
>> Shell: /bin/sh linked to /bin/bash
>>
>> Versions of packages libglpk0 depends on:
>> ii libc6 2.6-2 GNU C Library: Shared libraries
>> ii libgmp3c2 2:4.2.1+dfsg-4 Multiprecision arithmetic library
>>
>> libglpk0 recommends no packages.
>>
>> -- no debconf information
Hi Rafael,
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.
Andrew Makhorin
More information about the Pkg-scicomp-devel
mailing list