[Osi-tickets] [COIN-OR Open Solver Interface] #11: Add loglevel control to Osi

COIN-OR Open Solver Interface coin-trac at coin-or.org
Tue Jan 8 17:52:01 EST 2008


#11: Add loglevel control to Osi
-----------------------------+----------------------------------------------
  Reporter:  leolopes        |       Owner:  mjs
      Type:  enhancement     |      Status:  new
  Priority:  major           |   Milestone:     
 Component:  Osi Base Class  |     Version:  1.0
Resolution:                  |    Keywords:     
-----------------------------+----------------------------------------------
Comment (by lou):

 Essentially unchanged as 0.97 moves to 0.98.

 You can use messageHandler()->setLogLevel() to adjust the log level of the
 OSI handler, and the !OsiDoReducePrintLevel hint to (try to) affect the
 print level of the solver. But this is admittedly clumsy. Most annoying,
 there's no way to get at the message handler for a CoinMpsIO
 object, which by default is annoyingly chatty.

 There's a lot to be said for virtual methods here, because Leo's right ---
 each underlying solver has its own i/o control.

-- 
Ticket URL: <https://projects.coin-or.org/Osi/ticket/11#comment:1>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).



More information about the Osi-tickets mailing list