[Clp] Can't get Clp to shut up

Victor Miller victorsmiller at gmail.com
Tue Oct 23 14:09:49 EDT 2012


I have a linear programming model

OsiSolverInterface * lp;

which I use as follows:

after the initialSolve, I modify some of the row lower bounds, and then
resolve.  Since I'm doing this a lot, I want to turn off the messages from
the solver.

I do

lp->messageHandler()->setLogLevel(0);

just before doing

lp->resolve();

However, the messages are still coming out on stdout!  Why can't I get it
to shut up?

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20121023/9ff3a34b/attachment.html>


More information about the Clp mailing list