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

Matthew Galati matthew.galati at gmail.com
Tue Feb 10 16:31:44 EST 2015


Hi Matt -- Thanks - but, that did not help. I get the same messages.

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

On Tue, Feb 10, 2015 at 4:06 PM, Matthew Gidden <gidden at wisc.edu> wrote:

> 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/e31bf45f/attachment.html>


More information about the Coin-discuss mailing list