<br><font size=2 face="sans-serif">Anureet,</font>
<br>
<br><font size=2 face="sans-serif">deleteRows was OK after a solve - but
immediately after reading basis was empty. &nbsp;Fixed in branches/devel.
&nbsp;printf line in Idiot.cpp also taken out.</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>Anureet Saxena &lt;anureet@yahoo.com&gt;</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">06/01/2007 09:53 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">coin-lpsolver@list.coin-or.org, anureet@yahoo.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Coin-lpsolver] problem with deleteRows
&amp; OsiClp messages</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>hi,</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>I am facing problems with the deleteRows function of OsiClp.
I am using the latest version of OsiClp (just updated using the subversion
utility) on a 64 bit linux workstation.</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>The code simply reads an mps file and deletes the first
row. It however crashes on all the mps files from MIPLIB. A simple code
to reproduce this problem is attached, and is also available at:</font>
<br><font size=3>&nbsp;</font>
<br><a href=http://www.andrew.cmu.edu/user/anureets/tmp/workspace.tgz><font size=3 color=blue><u>http://www.andrew.cmu.edu/user/anureets/tmp/workspace.tgz</u></font></a>
<br><font size=3>&nbsp;</font>
<br><font size=3>It will be very helpful if someone could point out what
is going wrong.</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>Also I get the following message when I try to solve some
of the linear programs. Can someone please tell me if this is an error
or sign of numerical instability etc. Also, is it possible to turn these
off?</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>0 - mu 1e-11, infeasibility 7078, objective 0, 1040 interior</font>
<br><font size=3>I am already using the following settings:</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>messageHandler()-&gt;setLogLevel(0);</font>
<br><font size=3>setHintParam(OsiDoReducePrint, true);</font>
<br><font size=3>regards &amp; thanks,</font>
<br><font size=3>anureet</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>code:</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>-----------------------------------------------</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>#include &quot;OsiClpSolverInterface.hpp&quot;<br>
#include &lt;stdio.h&gt;<br>
#include &lt;stdlib.h&gt;</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>int main(int argc, char** argv) {</font>
<br><font size=3>&nbsp; &nbsp; &nbsp;if(argc!=2) {printf(&quot;Usage: %s
input_file\n&quot;,argv[0]); exit(-1); }</font>
<br><font size=3>&nbsp; &nbsp; &nbsp;OsiClpSolverInterface* si=new OsiClpSolverInterface();<br>
 &nbsp; &nbsp; si-&gt;readMps(argv[1]);<br>
 &nbsp; &nbsp; OsiSolverInterface* tmp=si-&gt;clone(true);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp;{<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int* ri=new int[1];<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ri[0]=0;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp-&gt;deleteRows(1, ri);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete [] ri;<br>
 &nbsp; &nbsp; }</font>
<br><font size=3>&nbsp; &nbsp; &nbsp;delete si;<br>
 &nbsp; &nbsp; delete tmp;<br>
}</font>
<br><font size=3><br>
<br>
Anureet Saxena<br>
anureet@cmu.edu<br>
anureet@yahoo.com<br>
<br>
--This mail was delivered to you on 100% recyclable electrons.</font>
<p><font size=3>&nbsp;</font>
<hr><font size=3>Park yourself in front of a world of choices in alternative
vehicles.</font><font size=3 color=blue><u><br>
</u></font><a href="http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy"><font size=3 color=blue><u>Visit
the Yahoo! Auto Green Center.</u></font></a><tt><font size=2>_______________________________________________<br>
Coin-lpsolver mailing list<br>
Coin-lpsolver@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-lpsolver<br>
</font></tt>
<p>