[CoinUtils-tickets] [COIN-OR Common Utilities] #35: feature/error
in mpsreader on BV-records
COIN-OR Common Utilities
coin-trac at coin-or.org
Thu Jun 21 10:33:05 EDT 2007
#35: feature/error in mpsreader on BV-records
------------------------+---------------------------------------------------
Reporter: sdv | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: component1 | Version:
Keywords: |
------------------------+---------------------------------------------------
Hi there,
I had some trouble with the coin-mps-reader. To easily reproduce it, i run
cbc on the
following mps-file
[[BR]]
{{{
NAME mps problem
ROWS
N o
E c1
E c2
COLUMNS
x1 o 33.5 c1 1
x1 c2 1
x2 o 1.1 c1 1
RHS
m c1 1
m c2 1
BOUNDS
BV bound x1 1
ENDATA
}}}
which results in
{{{
~/coin-Cbc/bin/cbc /tmp/m.mps
Coin Cbc and Clp Solver version 1.01.00, build Jun 11 2007
command line - cbc /tmp/m.mps
At line 1 NAME mps problem
At line 2 ROWS
At line 6 COLUMNS
At line 10 RHS
At line 13 BOUNDS
No match for column 1 at line 14 < BV bound x1 1 >
At line 15 ENDATA
Problem mps has 2 rows, 2 columns and 3 elements
There were 1 errors when importing model from /tmp/m.mps
There were 1 errors on input
}}}
Now I found one workaround, by replacing 'bound' in line 14 by 'bounds'.
(oddly replacing it with 'bds1' works too.)
[[BR]]
Although, my file above might not fullfill the mps-fixed format; it looks
reasonalbe
wrt. the mps-free format.?
[[BR]]
Could it be, that the BV record is still read in some variant of fixed
column format?
[[BR]]
best
sven
--
Ticket URL: <https://projects.coin-or.org/CoinUtils/ticket/35>
COIN-OR Common Utilities <http://projects.coin-or.org/CoinUtils>
Common data structures and linear algebra functions for COIN-OR projects
More information about the CoinUtils-tickets
mailing list