[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #8: lpSolver in CbcStrategy::setupOther lost message handler

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Fri Jan 19 14:34:43 EST 2007


#8: lpSolver in CbcStrategy::setupOther lost message handler
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  trivial     |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi,

 when running Cbc::branchAndBound, I noticed that I got an output line
 {{{
   Clp0000I Optimal - objective value 89.0858
 }}}
 which was not directed through the message handler I've been giving to the
 !OsiClpSolverInterface.

 I debug the code a bit, and found that the lpSolver from
 !CbcStrategy.cpp:354 does not seem to have the correct message handler.
 I added
 {{{
 lpSolver->passInMessageHandler(solver->messageHandler());
 }}}
 and then it works fine.

 I'm using Cbc release 1.1.0.

 Stefan

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/8>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list