Wednesday, November 30, 2011

MPS files: this does not look right

Writing an MPS for a QP model from GAMS using the Cplex option writemps I saw this:

* ENCODING=ISO-8859-1
NAME          gamsmodel
ROWS
obj
obj
E  budget
G  retcon
COLUMNS
    z         obj                             1
    z         obj                             1
    x(GAB)    budget                          1
    x(GAB)    retcon                     0.0025
    x(GAP)    budget                          1
    x(GAP)    retcon                     0.1375

This does not look right. Probably a problem in the GAMS link where a new free row is added to the problem with the same name as an existing row.