<html><body>
<p>Lasse,<br>
<br>
Not sure why you are getting message with logLevel at 0.  If you want you can send me code to reproduce problem.<br>
<br>
With my modifications you are calling ClpSimplex directly.  If the code thought it was being called from Osi (and probably therefore Cbc) it may switch message off.  Try magic line<br>
<br>
si-&gt;getModelPtr()-&gt;setSpecialOptions(si-&gt;getModelPtr()-&gt;specialOptions()|32768); !!!!<br>
<br>
and see if message goes away.<br>
<br>
John<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Lasse Kliemann ---06/25/2009 03:42:08 PM---John, it's essentially the code you sent me, just with som"><font color="#424282">Lasse Kliemann ---06/25/2009 03:42:08 PM---John, it's essentially the code you sent me, just with some</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Lasse Kliemann &lt;lasse-list-clp-2009@mail.plastictree.net&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">clp@list.coin-or.org</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">06/25/2009 03:42 PM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF72DFA461278f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Re: [Clp] How to get integral solution for totally unimodular matrix?</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>John, it's essentially the code you sent me, just with some <br>
additional output for debugging. It appears however that despite <br>
this warning message<br>
<br>
 &nbsp; Clp3002W Empty problem - 250 rows, 0 columns and 0 elements<br>
<br>
the problem is solved correctly. I also integrated your extra <br>
code in my main application, and it works fine.<br>
<br>
These two:<br>
<br>
 &nbsp; si-&gt;getModelPtr()-&gt;numberRows()<br>
 &nbsp; si-&gt;getModelPtr()-&gt;numberColumns()<br>
<br>
also show correct numbers.<br>
<br>
The only obvious problem left is that warning message itself, <br>
which can be irritating.<br>
<br>
<br>
* Message by -John J Forrest- from Thu 2009-06-25:<br>
&gt; <br>
&gt; Lasse,<br>
&gt; <br>
&gt; I don't see that the changes I suggested would cause that. &nbsp;Try just<br>
&gt; replacing initialSolve by resolve - also print out size of model before<br>
&gt; resolve. &nbsp;If you want to send me stuff directly do so (as long as it is not<br>
&gt; too large).<br>
&gt; <br>
&gt; John Forrest<br>
&gt; <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; &nbsp; From: &nbsp; &nbsp; &nbsp; Lasse Kliemann &lt;lasse-list-coin-2009@mail.plastictree.net&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp; clp@list.coin-or.org &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; &nbsp; Date: &nbsp; &nbsp; &nbsp; 06/24/2009 02:53 PM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; &nbsp; Subject: &nbsp; &nbsp;Re: [Clp] How to get integral solution for totally unimodular matrix?<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; * Message by -John J Forrest- from Wed 2009-06-24:<br>
&gt; <br>
&gt; &gt; If you replace the initialSolve by resolve, then the problem goes away.<br>
&gt; &gt; However the long thin strategy is 50 times faster!<br>
&gt; &gt;<br>
&gt; &gt; To get good performance and normal simplex characteristics you need to<br>
&gt; add<br>
&gt; &gt; ten lines. &nbsp;I attach a modified integral.cpp.<br>
&gt; <br>
&gt; Thank you, John, for the explanation and the example code.<br>
&gt; <br>
&gt; I ran it, but it keeps complaining about an empty problem:<br>
&gt; <br>
&gt; &nbsp; &nbsp;Clp3002W Empty problem - 250 rows, 0 columns and 0 elements<br>
&gt; <br>
&gt; The problem *is* loaded via 'assignProblem'; I also tried:<br>
&gt; <br>
&gt; &nbsp; &nbsp;si-&gt;getModelPtr()-&gt;loadProblem(*matrix, col_lb, col_ub,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; objective, row_lb, row_ub);<br>
&gt; <br>
&gt; to no avail.<br>
&gt; <br>
&gt; <br>
&gt; Thank you for a hint.<br>
&gt; Lasse<br>
&gt; [attachment &quot;atthbeby.dat&quot; deleted by John J Forrest/Watson/IBM]<br>
&gt; _______________________________________________<br>
&gt; Clp mailing list<br>
&gt; Clp@list.coin-or.org<br>
&gt; </tt><tt><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a></tt><tt><br>
&gt; <br>
<br>
<br>
<br>
[attachment &quot;att69tce.dat&quot; deleted by John J Forrest/Watson/IBM] _______________________________________________<br>
Clp mailing list<br>
Clp@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a></tt><tt><br>
</tt><br>
<br>
</body></html>