The MPS-Format Data Table

OBJSENSE Section (Optional)

The OBJSENSE section contains the sense of the objective. The objective sense is specified by the indicator code in field2 as follows:

  • MIN: minimization objective

  • MAX: maximization objective

  • Indicator record:

    _ID_ Field1 Field2 Field3 Field4 Field5 Field6
    Number OBJSENSE Blank Blank . Blank .

  • Data record:

    _ID_ Field1 Field2 Field3 Field4 Field5 Field6
    Number Blank Objective sense Blank . Blank .

Notes:

  • The objective sense that is specified in this section supersedes the objective sense that is set in the ROWS section, but the objective sense that is set using the OBJSENSE= option in the solver supersedes the objective sense that is set in the MPS-format data table.

Last updated: September 09, 2026