[Coin-discuss] cbc message level

John J Forrest jjforre at us.ibm.com
Sun Jul 3 12:42:01 EDT 2005


Matt,

Will fix - problem will be because osiCbc is both a solver and a branch 
and bound code.  But at present message handling is a mess and after some 
input from Michael Bussieck I am probably going to move a type into each 
set of messages i.e. branchandbound, solver, coin, cgl etc and enable you 
to set levels more elegantly just ta the top level.

Fixed - problem was really that OsiCbc uses a default strategy of printing 
which overrode yours.

You just need  getModelPtr one.

John



Matthew Galati <magh at lehigh.edu> 
Sent by: coin-discuss-bounces at list.coin-or.org
06/29/2005 01:43 PM
Please respond to
Discussions about open source software for Operations Research 


To
Discussions about open source software for Operations Research 
<coin-discuss at list.coin-or.org>
cc

Subject
[Coin-discuss] cbc message level






Hi,


Through OsiCbc, how do I make Cbc completely quiet?

  OsiCbcSolverInterface * si = new OsiCbcSolverInterface();

  si->messageHandler()->setLogLevel(0);
  si->getModelPtr()->messageHandler()->setLogLevel(0);
  si->getRealSolverPtr()->messageHandler()->setLogLevel(0);


I tried all of those, but am still getting these messages:

Cbc0009I Objective coefficients multiple of 1
Cbc0013I At root node, 0 cuts changed objective from 2.25 to 3 in 2 passes
Cbc0014I Cut generator 0 (Probing) - 0 row cuts (0 active), 1 column 
cuts  in 0.001 seconds - new frequency is -100
Cbc0014I Cut generator 1 (Gomory) - 2 row cuts (0 active), 0 column 
cuts  in 0 seconds - new frequency is -100
Cbc0014I Cut generator 2 (Knapsack) - 0 row cuts (0 active), 0 column 
cuts  in 0 seconds - new frequency is -100
Cbc0014I Cut generator 3 (Clique) - 0 row cuts (0 active), 0 column 
cuts  in 0 seconds - new frequency is -100
Cbc0014I Cut generator 4 (FlowCover) - 0 row cuts (0 active), 0 column 
cuts  in 0 seconds - new frequency is -100
Cbc0014I Cut generator 5 (MixedIntegerRounding) - 1 row cuts (0 active), 
0 column cuts  in 0.001 seconds - new frequency is -100
Cbc0004I Integer solution of 3 found after 2 iterations and 0 nodes
Cbc0001I Search completed - best objective 3, took 2 iterations and 0 
nodes
Cbc0004I Integer solution of 3 found after 2 iterations and 0 nodes


Thanks,
Matt



-- 
Matthew Galati - Optimization Developer
SAS Institute - Analytical Solutions
Phone 919-531-0332, R5327 
Fax   919-677-4444
http://coral.ie.lehigh.edu/~magh
http://ordlnx2.na.sas.com/projects/OptWiki
http://www.sas.com/technologies/analytics/optimization/

_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20050703/1d12c6f8/attachment.html>


More information about the Coin-discuss mailing list