<br><font size=2 face="sans-serif">Can't see any harm if it is an option.
&nbsp;Put in so defaults to current usage but if changeOnRanges is true
then appends _low.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jean-Sebastien Roy &lt;js@jeannot.org&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-discuss-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">10/10/2005 06:52 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Discussions about open source software for Operations Research &nbsp; &nbsp;
&nbsp; &nbsp;</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">coin-discuss@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-discuss] CoinLpIO</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi !<br>
<br>
I noticed some solvers (like GLPK) complain when two constraints in an<br>
LP file share the same name, as it is the case for files output by<br>
CoinLpIO.cpp's writeLp function when constraints are ranged.<br>
<br>
As a quick fix I added &quot;low&quot; to the second constraint. The CPLEX
LP <br>
format definition do not discuss the possibility of multiple constraints
<br>
with the same name (even if it makes sense in this case). Maybe it can
<br>
be made an option ?<br>
<br>
diff -r1.5 CoinLpIO.cpp<br>
628c628<br>
&lt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fprintf(fp, &quot;%s:&quot;, rowNames[i]);<br>
---<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fprintf(fp, &quot;%slow:&quot;,
rowNames[i]);<br>
<br>
Regards,<br>
<br>
js<br>
_______________________________________________<br>
Coin-discuss mailing list<br>
Coin-discuss@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-discuss<br>
</tt></font>
<br>