Previous Page | Next Page

The MPS-Format SAS Data Set

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:

  • MIN: minimization objective

  • MAX: maximization objective

  • N: objective

  • G: constraint

  • L: constraint

  • E: constraint

  • Indicator record:

    Field1

    Field2

    Field3

    Field4

    Field5

    Field6

    ROWS

    Blank

    Blank

    .

    Blank

    .

  • Data record:

    Field1

    Field2

    Field3

    Field4

    Field5

    Field6

    Indicator code

    Row name

    Blank

    .

    Blank

    .

Notes:

  1. 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, while the rest are ignored. If a type-N row is taken as the objective row, minimization is assumed.

  2. Duplicate entries of field2 in the ROWS section are not allowed. In other words, row name is unique. The variable field2 in the ROWS section cannot take a missing value.

Previous Page | Next Page | Top of Page