<br><font size=2 face="sans-serif">Francois,</font>
<br>
<br><font size=2 face="sans-serif">Will change. 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). As
decoding numbers in CoinMpsIO is done without using sscanf or any library
routines one could do the same for encoding numbers. This would make
things consistent on all platforms. 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. 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>"Francois Margot"
<fmargot@andrew.cmu.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">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>
> Message: 3<br>
> Date: Sat, 27 Mar 2004 23:30:01 -0500<br>
> From: steven.henderson@us.army.mil<br>
> To: coin-discuss@www-126.southbury.usf.ibm.com<br>
> Subject: [Coin-discuss] MpsIO (continued)<br>
> Reply-To: coin-discuss@www-124.ibm.com<br>
><br>
> Folks,<br>
><br>
> Regarding my last post, I did solve my problem with COIN Util's<br>
> MpsIo:setMpsData(...). If your packed matrix has columns that
exceed<br>
the<br>
> dimension of your col_lb/col_ub, then this will cause the garbage
in the<br>
resulting MPS file.<br>
><br>
> However, I am still curious if anyone knows how to use<br>
> OsiSolverInterface:writeMpsNative to set row and col names.<br>
><br>
> Have a great weekend!<br>
><br>
> Steve<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>
><br>
><br>
> End of Coin-discuss Digest<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>