[Osi] reducing messages OsiCbc
Matthew Galati
Matthew.Galati at sas.com
Sat Nov 13 18:27:50 EST 2010
Reducing messages.
I either use OsiCbc or OsiCpx. To make them quiet, I have to do:
m_osi.messageHandler()->setLogLevel(0);
#ifdef __DECOMP_IP_CBC__
m_osi.getModelPtr()->setLogLevel(0);
#endif
I also tried the following - but it didn't help:
m_osi.setHintParam(OsiDoReducePrint, true, OsiHintDo);
Is there a better way? Since "getModelPtr" is specific to OsiCbc, it forces the use of this ifdef.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/osi/attachments/20101113/343a1b19/attachment.html>
More information about the Osi
mailing list