[Coin-lpsolver] Correct way to disable messages in Coin

Jean-Sebastien Roy js at jeannot.org
Sat Mar 20 09:42:20 EST 2004


Hi !

I use:

OsiClpSolverInterface solver1;
SbbModel model(solver1);

To create a new SbbModel, then:

model.solver()->messageHandler()->setLogLevel(0);
model.messageHandler()->setLogLevel(0);

To disable messages (as found in SbbParam.cpp). Most messages disapear, 
yet if I use the presolve using:

model.solver()->setHintParam(OsiDoPresolveInInitial,true,OsiHintTry);

I get messages like:

Clp3002W Empty problem - 0 rows, 0 columns and 0 elements

And:

Coin0507I Presolve determined that the problem was infeasible with 
tolerance of 1e-08

What is the correct way to disable all messages ?

Thank you very much in advance !

Regards,

js



More information about the Clp mailing list