Forum Discussion
FICO
2 years agoCommunity Manager
Optimizer not loading the entire MPS file
Hi all, I'm playing around with a large MIP problem, and trying to compare Xpress and Cplex (2018 versions) in terms of performance for future work. MIP problem is formulated in GAMS, and solved di...
FICO
2 years agoCommunity Manager
At first glance the file looks at least strange. For example you have these lines (line numbers to the left of the colon):
42945485: x1000000 e192274 -0.3953
42945486: x1000000 e63 -77.16725385
42945487: x1000000 e104258 1
42945488: x1000000 e192274 -0.3953
42945489: x1000000 e63 -77.16725385
42945490: x1000000 e104259 1
42945491: x1000000 e192274 -0.3953
110922508: UP bnd x1000000 182
110922509: UP bnd x1000000 182
110922510: UP bnd x1000000 182
110922511: UP bnd x1000000 182
110922512: UP bnd x1000000 182
110922513: UP bnd x1000000 182So either this is highly repetitive or the column names got truncated to 8 characters.
Moreover, Xpress issues this warning
?18 Error: Bound conflict for column x1573539 : 69.5917 > 42And indeed the file says
102781311: FX bnd x1573539 69.591674194
116580618: UP bnd x1573539 268.02631579
116580619: UP bnd x1573539 268.02631579
116580620: UP bnd x1573539 268.02631579
116580621: UP bnd x1573539 268.02631579
116580622: UP bnd x1573539 268.02631579
116580623: UP bnd x1573539 268.02631579
116580624: UP bnd x1573539 268.02631579
116580625: UP bnd x1573539 42
116580626: UP bnd x1573539 42
116580627: UP bnd x1573539 42In other words, many different bounds are specified for x1573539 in the MPS file. The first line fixes the variable to 69.591674194. Then a bunch of lines sets upper bound to 268.02631579 and then another bunch of lines sets the upper bound to 42.
This smells a lot like a problem with the MPS export of GAMS. Is there maybe an option you have to give when you have a lot of variables so that names do not get truncated to 8 characters? Could you check with GAMS support people? The MPS file definitely looks unexpected.

