The MPS-Format Data Table
ROWS Section
The ROWS section contains the name and type of the rows (linear constraints or objectives). The type of each row is specified by the indicator code in field1 as follows:
Indicator record:
_ID_
Field1
Field2
Field3
Field4
Field5
Field6
Number
ROWS
Blank
Blank
.
Blank
.
Data record:
_ID_
Field1
Field2
Field3
Field4
Field5
Field6
Number
Indicator code
Row name
Blank
.
Blank
.
Notes:
At least one objective row should be specified in the ROWS section. It is possible to specify multiple objective rows. However, among all the data records indicating the objective, only the first one is regarded as the objective row, and the rest are ignored. If a type-N row is used as the objective row, minimization is assumed. The value of the solver’s OBJSENSE= option supersedes the objective sense that is specified in this section.
Duplicate entries of
field2in the ROWS section are not allowed. In other words, row name is unique. The variablefield2in the ROWS section cannot take a missing value.