[Coin-discuss] mps writer problems
yax2 at lehigh.edu
yax2 at lehigh.edu
Sun Aug 1 23:04:38 EDT 2004
John,
They are okay now. Thanks for fixing.
Yan
Quoting John J Forrest <jjforre at us.ibm.com>:
> Yan,
>
> 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.
>
> John Forrest
>
>
>
> yax2 at lehigh.edu
> Sent by: coin-discuss-admin at www-124.southbury.usf.ibm.com
> 07/29/2004 10:41 PM
> Please respond to
> coin-discuss
>
>
> To
> coin-discuss at www-124.southbury.usf.ibm.com
> cc
>
> Subject
> [Coin-discuss] mps writer problems
>
>
>
>
>
>
> Hi,
>
> it looks there are several minor problems with CoinMps writer:
>
> 1. CoinMps writer does not allow a column upper bound to be greater or
> equal to
> 1.0e+10. For example, given a upper bound 2.0e+12, the code in line 2325
> of
> CoinMpsIO.cpp:
>
> outputValue[12]='\0';
>
> will truncate 2.0e+12 to be 2.0e+1
>
> I don't have good fix yet. But, the quick and dirty one is to comment this
> line out.
>
> 2. For a binary variable, CoinMps writer sets the upper bound as 1.0e+3,
> which
> should be 1.0. The line 2767 of CoinMpsIO.cpp is
>
> value[0] = largeValue;
>
> maybe should change to
>
> value[0] = upperValue;
>
> 3. To plug memory leak, it's better to delete rlb and rub that are
> declared in
> line 3186, 3187, 3209, 3210 of CoinMpsIO.cpp
>
>
>
> Yan
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the Coin-discuss
mailing list