The MPS-Format Data Table
QSECTION Section (Optional)
The QSECTION section is needed only to describe quadratic programming problems. It specifies the coefficients of the quadratic terms in the objective function.
Indicator record:
_ID_
Field1
Field2
Field3
Field4
Field5
Field6
Number
QSECTION or QUADOBJ
Blank
Blank
.
Blank
.
Data record:
_ID_
Field1
Field2
Field3
Field4
Field5
Field6
Number
Blank
Column name
Column name
Coefficient in objective function
Blank
.
Notes:
The QSECTION section can appear only in PROC OPTQP and should not appear in PROC OPTLP or PROC OPTMILP. For PROC OPTLP and PROC OPTMILP, an error is reported when the submitted data table contains a QSECTION section. For PROC OPTQP, if the QSECTION section is not specified, or if there is no valid data record in the QSECTION section, then the LP solver is used to solve the resulting linear programming problem.
The variables
field2andfield3contain the names of the columns that form a quadratic term in the objective function. They must have been defined in the COLUMNS section. They need not refer to the same column. Zero entries should not be specified.Duplicate entries of a quadratic term are not allowed. This means the combination of (
field2,field3) must be unique, where and are considered to be the same combination.If
field4of one data record is missing or takes a value of zero, then this data record is ignored.