[Coin-discuss] how to shut off CBC (OsiClp.branchAndBound) logs

Matthew Gidden gidden at wisc.edu
Tue Feb 10 16:06:15 EST 2015


Hi Matt,

I have found passing in a new message handler can work reasonably well,
i.e.:

CoinMessageHandler h;
h.setLogLevel(0);
osiClp->passInMessageHandler(&h);

Cheers,

On Tue, Feb 10, 2015 at 2:33 PM, Matthew Galati <matthew.galati at gmail.com>
wrote:

> I think I asked this a few years back. I am trying all the stuff I think
> you told me a long time ago.
>
>
>    osiClp->setLogLevel(0);
>    osiClp->messageHandler()->setLogLevel(0);
>    osiClp->getModelPtr()->setLogLevel(0);
>    osiClp->branchAndBound();
>
>
> But, I still get these messages. This is Dip 0.91.0.
>
> Integer solution of -281.11 found after 10 iterations and 9 nodes
> Integer solution of -282.21 found after 17 iterations and 13 nodes
> Integer solution of -282.4 found after 20 iterations and 15 nodes
> Search took 34 iterations and 19 nodes
>
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>


-- 
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20150210/899a247c/attachment.html>


More information about the Coin-discuss mailing list