<br><font size=2 face="sans-serif">enableSimplex is a bit delicate as it
expects the user to be deciding which variable is going to come in. &nbsp;You
will see an example in OsiSimplexInterfaceTest.cpp. &nbsp;If you just say
the interface is enabled but don't &nbsp;take charge then the code will
update the reduced costs but then in choosing the next column it will update
them again as that bit of code does not know about enableSimplex..</font>
<br>
<br><font size=2 face="sans-serif">I can fiddle with interface but I would
feel it to be more useful to make it more rugged when &nbsp;enableSimplex
is being used with user intervention.</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>&quot;Fanie Terblanche&quot;
&lt;RKWSET@puknet.puk.ac.za&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-admin@www-124.southbury.usf.ibm.com</font>
<p><font size=1 face="sans-serif">03/02/2004 09:11 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
coin-discuss</font></div></table>
<br>
<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">&lt;coin-discuss@www-124.southbury.usf.ibm.com&gt;</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-discuss] OsiClpSolverInterface
error when enableSimplexInterface=true</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi,<br>
<br>
I've recently started looking at the OsiClpSolverInterface code. I<br>
experienced some problems when enabling the simplex interface. Perhaps<br>
there is someone that knows the code well enough to sort out the problem<br>
within reasonable time. I could give it a go......but rather let me ask<br>
the experts!! &nbsp;Below is a small sample using exmip1.mps as input.<br>
<br>
OsiClpSolverInterface solver1;<br>
 &nbsp;int mpsReadError = solver1.readMps(argv[1]);<br>
 &nbsp;assert(mpsReadError == 0);<br>
 &nbsp;solver1.setHintParam(OsiDoScale,false,OsiHintDo);<br>
 &nbsp;solver1.setHintParam(OsiDoPresolveInInitial,false,OsiHintDo);<br>
 &nbsp;solver1.setHintParam(OsiDoDualInInitial,false,OsiHintDo);<br>
 &nbsp;solver1.setHintParam(OsiDoPresolveInResolve,false,OsiHintDo);<br>
 &nbsp;solver1.setHintParam(OsiDoDualInResolve,false,OsiHintDo);<br>
 &nbsp;solver1.enableSimplexInterface(true);<br>
 &nbsp;solver1.initialSolve();<br>
<br>
When executing the above code the following assertion fails<br>
ClpSimplexPrimal::pivotResult line 2146<br>
assert (fabs(dj_[sequenceIn_])&lt;1.0e-6);<br>
<br>
Regards<br>
<br>
<br>
<br>
<br>
<br>
Fanie Terblanche<br>
School of Computer, Statistical, and Mathematical Sciences<br>
North West University (Potchefstroom Campus)<br>
Tel: &nbsp; +27 (0)18 299 2536<br>
Fax: &nbsp;+27 (0)18 299 2557<br>
www.puk.ac.za<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@www-124.ibm.com<br>
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>