<br><font size=2 face="sans-serif">Francois,</font>
<br>
<br><font size=2 face="sans-serif">Not quite as easy to fix as you might
think (and fixing might change behavior for other people).</font>
<br>
<br><font size=2 face="sans-serif">As you say, there are two message handlers
but there is also the hint OsiDoReducePrint..</font>
<br>
<br><font size=2 face="sans-serif">I will add a setLoglevel to OsiClp -
so you would do clp-&gt;setLogLevel(0);</font>
<br>
<br><font size=2 face="sans-serif">John</font>
<br>
<br>
<br>
<table width=100%>
<tr>
<td><img src=cid:_1_07CA01A007C9FDB80056EA368525748A>
<td width=100%>
<table width=100%>
<tr valign=top>
<td width=100%><font size=2 face="sans-serif"><b>[Osi] logLevel_ not kept
(OsiClpSolverInterface)</b></font></table>
<br>
<table width=100%>
<tr>
<td><font size=2 color=#e26200 face="sans-serif"><b>fmargot </b></font>
<td><font size=2 color=#8f8f8f face="sans-serif">to:</font>
<td><font size=2 face="sans-serif">osi</font>
<td>
<div align=right><font size=1 face="sans-serif">07/17/2008 05:39 PM</font></div></table>
<br>
<table width=100%>
<tr>
<td>
<table width=100%>
<tr>
<td><font size=2 color=#8f8f8f face="sans-serif">Sent by:</font>
<td width=100%><font size=2 color=#e26200 face="sans-serif"><b>osi-bounces@list.coin-or.org</b></font></table>
<br>
<td>
<div align=right></div></table>
<br></table>
<br>
<br>
<hr>
<br>
<br>
<br><tt><font size=2><br>
Consider the code:<br>
<br>
OsiClpSolverInterface *clp;<br>
<br>
// A<br>
<br>
clp-&gt;messageHandler()-&gt;setLogLevel(0);<br>
<br>
// B<br>
<br>
clp-&gt;initialSolve();<br>
<br>
// C<br>
<br>
If you print<br>
<br>
clp-&gt;handler_-&gt;logLevel_ &nbsp;and clp-&gt;modelPtr_-&gt;handler_-&gt;logLevel_<br>
<br>
at point A, both are 1. <br>
At point B, the first one is zero and the second one is 1<br>
At point C, both are 1.<br>
<br>
Obviously, initialSolve() should not modify the logLevel set by the<br>
user. The problem is that &nbsp;setLogLevel() modifies only<br>
clp-&gt;handler_-&gt;logLevel_ and initialSolve() looks at<br>
clp-&gt;modelPtr_-&gt;handler_-&gt;logLevel_ when saving the logLevel.<br>
<br>
A ticket has been filed (ticket #65).<br>
<br>
Francois<br>
<br>
<br>
_______________________________________________<br>
Osi mailing list<br>
Osi@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/osi<br>
</font></tt>
<br>