<br><font size=2 face="sans-serif">Stefan,</font>
<br>
<br><font size=2 face="sans-serif">I know it is confusing - and I am as
confused as anyone as Cbc interacts with Osi, Cgl, Clp and Coin.</font>
<br>
<br><font size=2 face="sans-serif">I think the idea is that to reduce the
print out from any OsiSolverInterface object you use the hint OsiDoReducePrint.
The problem is that Clp is the only instance of OsiSolverInterface
which uses the same message handler so it is not intuitive.</font>
<br>
<br><font size=2 face="sans-serif">At present Cbc and Clp do reduce output
from other message handlers used. I will extend that to OsiClp unless
someone objects. </font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Stefan Vigerske <stefan@mathematik.hu-berlin.de></b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-lpsolver-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">12/09/2005 04:08 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">coin-lpsolver@list.coin-or.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-lpsolver] switching
off output</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi,<br>
<br>
I'm using the OsiClpSolverInterface to formulate my problem and I had a
<br>
problem to switch off the output after I updated to a new version.<br>
Setting the loglevel to zero using the message handler provided by my <br>
OsiClpSolverInterface object did not have any effect.<br>
In OsiClpSolverInterface::initialSolve() I read<br>
int saveMessageLevel=modelPtr_->logLevel();<br>
and<br>
solver.messageHandler()->setLogLevel(saveMessageLevel);<br>
<br>
Hence, I seem to use the wrong message handler.<br>
Setting the loglevel to zero for the message Handler which is provided
from <br>
the ClpSimplex object provided by my OsiClpSolverInterface object due to
a <br>
call of getModelPtr() seems to solve the problem.<br>
<br>
Is this behaviour intended this way?<br>
<br>
Stefan<br>
<br>
-- <br>
Stefan Vigerske<br>
Humboldt University Berlin, Numerical Mathematics<br>
http://www.math.hu-berlin.de/~stefan<br>
_______________________________________________<br>
Coin-lpsolver mailing list<br>
Coin-lpsolver@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-lpsolver<br>
</tt></font>
<br>