<br><font size=2 face="sans-serif">Yan,</font>
<br>
<br><font size=2 face="sans-serif">You seem to be working with an old copy
of CoinMpsIO.cpp as the line numbers don't match. The second error
had already been fixed. Try again and see if the other two errors
are okay now.</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>yax2@lehigh.edu</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">07/29/2004 10:41 PM</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">coin-discuss@www-124.southbury.usf.ibm.com</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] mps writer
problems</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi, <br>
<br>
it looks there are several minor problems with CoinMps writer:<br>
<br>
1. CoinMps writer does not allow a column upper bound to be greater or
equal to<br>
1.0e+10. For example, given a upper bound 2.0e+12, the code in line 2325
of<br>
CoinMpsIO.cpp:<br>
<br>
outputValue[12]='\0';<br>
<br>
will truncate 2.0e+12 to be 2.0e+1<br>
<br>
I don't have good fix yet. But, the quick and dirty one is to comment this
line out.<br>
<br>
2. For a binary variable, CoinMps writer sets the upper bound
as 1.0e+3, which<br>
should be 1.0. The line 2767 of CoinMpsIO.cpp is<br>
<br>
value[0] = largeValue;<br>
<br>
maybe should change to<br>
<br>
value[0] = upperValue;<br>
<br>
3. To plug memory leak, it's better to delete rlb and rub that are
declared in<br>
line 3186, 3187, 3209, 3210 of CoinMpsIO.cpp<br>
<br>
<br>
<br>
Yan <br>
<br>
<br>
<br>
<br>
-------------------------------------------------<br>
This mail sent through IMP: http://horde.org/imp/<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>