<br><font size=2 face="sans-serif">Francois,</font>
<br>
<br><font size=2 face="sans-serif">Will change. &nbsp;Also I will make
functional the formatType 2 (preserve IEEE accuracy) which may be a useful
option as that would be platform independent (may help Jorg). &nbsp;As
decoding numbers in CoinMpsIO is done without using sscanf or any library
routines one could do the same for encoding numbers. &nbsp;This would make
things consistent on all platforms. &nbsp;It is a bit of work to make work
in all circumstances but I could do if people think it would be a good
idea and if I am feeling bored.</font>
<br>
<br><font size=2 face="sans-serif">The IEEE accuracy option will encode
the 64 bit IEEE floating point number into a 12 character field by translating
6 bits into 64 of the printable ASCII characters. &nbsp;This maintains
exact numbers including INF or NAN.</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;Francois Margot&quot;
&lt;fmargot@andrew.cmu.edu&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/29/2004 11:24 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">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] Re: MpsIO
(continued)</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Steve:<br>
<br>
The row and col names are ignored in<br>
OsiSolverInterface::writeMpsNative(). The call<br>
<br>
writer.setMpsData()<br>
<br>
in that function (around line 600) passes null vectors instead of<br>
the parameters rowNames and colNames. Replacing on line 605<br>
<br>
(const char **)0, (const char **)0);<br>
<br>
by<br>
<br>
(const char **) columnNames, (const char **) rowNames);<br>
<br>
seems to work.<br>
<br>
Francois<br>
<br>
<br>
&gt; Message: 3<br>
&gt; Date: Sat, 27 Mar 2004 23:30:01 -0500<br>
&gt; From: steven.henderson@us.army.mil<br>
&gt; To: coin-discuss@www-126.southbury.usf.ibm.com<br>
&gt; Subject: [Coin-discuss] MpsIO (continued)<br>
&gt; Reply-To: coin-discuss@www-124.ibm.com<br>
&gt;<br>
&gt; Folks,<br>
&gt;<br>
&gt; Regarding my last post, I did solve my problem with COIN Util's<br>
&gt; MpsIo:setMpsData(...). &nbsp;If your packed matrix has columns that
exceed<br>
the<br>
&gt; dimension of your col_lb/col_ub, then this will cause the garbage
in the<br>
resulting MPS file.<br>
&gt;<br>
&gt; However, I am still curious if anyone knows how to use<br>
&gt; OsiSolverInterface:writeMpsNative to set row and col names.<br>
&gt;<br>
&gt; Have a great weekend!<br>
&gt;<br>
&gt; Steve<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --__--__--<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Coin-discuss mailing list<br>
&gt; Coin-discuss@www-124.ibm.com<br>
&gt; http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss<br>
&gt;<br>
&gt;<br>
&gt; End of Coin-discuss Digest<br>
&gt;<br>
&gt;<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>