help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Suppress output


From: Andrew Makhorin
Subject: Re: [Help-glpk] Suppress output
Date: Tue, 3 Jul 2007 11:41:38 +0400

>   I use glpk in a multi-agent program where I have a huge number
> of agents calling glpk very frequently.
> They have to solve a very small mixed-integer linear problem and
> glpk needs fraction of seconds to correctly solve each problem.
> My question is that I suspect that in such usage scenario the
> printing of output messages on the console is responsible of a large
> share of the overall time.
> Is it possible to completely suppress the output in
> lpx_integer(glp_prob *lp) ??

To redirect or disable terminal output you need to use the routine
glp_term_hook introduced in glpk 4.17. Its description and an usage
example can be found in the glpk reference manual.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]