> 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. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
