[Coin-discuss] clp message level on infeasible
Matthew Galati
magh at lehigh.edu
Tue May 27 17:54:28 EDT 2008
I figured it out... messageHandler is not enough -- need to setLogLevel
thru getModelPtr( ) too. This design isn't great since this code is
specific to OsiClp and doesn't work with Osi. Can this be fixed?
m_masterSI->messageHandler()->setLogLevel(0);
#ifdef __DECOMP_LP_CLP__
dynamic_cast<OsiClpSolverInterface*>(m_masterSI)->getModelPtr()->setLogLevel(m_param.LogLpLevel);
#endif
> I have:
> m_masterSI->messageHandler()->setLogLevel(0);
>
> and on a normal solve this gets rid of all CLP messages. However, when
> the problem is infeasible, I still get messages. How do I shut off all
> messages?
>
> Clp0006I 0 Obj 0 Primal inf 8.28333 (11)
> Clp0001I Primal infeasible - objective value 0
>
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
More information about the Coin-discuss
mailing list