Data Input and Output |
This subsection describes the PRIMALIN= and DUALIN= data sets required to warm start the primal and dual simplex solvers, and the PRIMALOUT= and DUALOUT= output data sets.
The PRIMALIN= data set has two required variables defined as follows:
specifies the status of the decision variable. It can take one of the following values:
basic variable
nonbasic variable at its lower bound
nonbasic variable at its upper bound
free variable
newly added variable in the modified LP model when using the BASIS=WARMSTART option
Note: The PRIMALIN= data set is created from the PRIMALOUT= data set obtained from a previous "normal" run of PROC OPTLP—i.e., using only the DATA= data set as the input.
The DUALIN= data set also has two required variables defined as follows:
specifies the status of the slack variable for a given constraint. It can take one of the following values:
basic variable
nonbasic variable at its lower bound
nonbasic variable at its upper bound
free variable
newly added variable in the modified LP model when using the BASIS=WARMSTART option
Note: The DUALIN= data set is created from the DUALOUT= data set obtained from a previous "normal" run of PROC OPTLP—i.e., using only the DATA= data set as the input.
The PRIMALOUT= data set contains the primal solution to the LP model; each observation corresponds to a variable of the LP problem. If the SAVE_ONLY_IF_OPTIMAL option is not specified, the PRIMALOUT= data set can contain an intermediate solution, if one is available. See Example 10.1 for an example of the PRIMALOUT= data set. The variables in the data set have the following names and meanings.
specifies the name of the objective function. This is particularly useful when there are multiple objective functions, in which case each objective function has a unique name.
Note: PROC OPTLP does not support simultaneous optimization of multiple objective functions in this release.
specifies the name of the variable that contains the right-hand-side value of each constraint.
specifies the type of the decision variable. _TYPE_ can take one of the following values:
nonnegative
bounded (with both lower and upper bound)
free
fixed
other (with either lower or upper bound)
specifies the coefficient of the decision variable in the objective function.
specifies the status of the decision variable. _STATUS_ can take one of the following values:
basic variable
nonbasic variable at its lower bound
nonbasic variable at its upper bound
free variable
LP model infeasible (all decision variables have _STATUS_ equal to I)
For the interior point solver with IIS= OFF, _STATUS_ is blank.
The following values can appear only if IIS= ON. See the section Irreducible Infeasible Set for details.
the lower bound of the variable is violated
the upper bound of the variable is violated
the fixed bound of the variable is violated
specifies the reduced cost of the decision variable, which is the amount by which the objective function is increased per unit increase in the decision variable. The reduced cost associated with the th variable is the th entry of the following vector:
where denotes the basis (matrix composed of basic columns of the constraints matrix ), is the vector of objective function coefficients, and is the vector of objective coefficients of the variables in the basis.
The DUALOUT= data set contains the dual solution to the LP model; each observation corresponds to a constraint of the LP problem. If the SAVE_ONLY_IF_OPTIMAL option is not specified, the PRIMALOUT= data set can contain an intermediate solution, if one is available. Information about the objective rows of the LP problems is not included. See Example 10.1 for an example of the DUALOUT= data set. The variables in the data set have the following names and meanings.
specifies the name of the objective function. This is particularly useful when there are multiple objective functions, in which case each objective function has a unique name.
Note: PROC OPTLP does not support simultaneous optimization of multiple objective functions in this release.
specifies the name of the variable that contains the right-hand-side value of each constraint.
specifies the type of the constraint. _TYPE_ can take one of the following values:
"less than or equals" constraint
equality constraint
"greater than or equals" constraint
ranged constraint (both "less than or equals" and "greater than or equals")
specifies the value of the right-hand side of the constraint. It takes a missing value for a ranged constraint.
specifies the lower bound of a ranged constraint. It takes a missing value for a non-ranged constraint.
specifies the upper bound of a ranged constraint. It takes a missing value for a non-ranged constraint.
specifies the value of the dual variable associated with the constraint.
specifies the status of the slack variable for the constraint. _STATUS_ can take one of the following values:
basic variable
nonbasic variable at its lower bound
nonbasic variable at its upper bound
free variable
LP model infeasible (all decision variables have _STATUS_ equal to I)
The following values can appear only if option IIS= ON. See the section Irreducible Infeasible Set for details.
the "GE" () condition of the constraint is violated
the "LE" () condition of the constraint is violated
the "EQ" () condition of the constraint is violated
specifies the left-hand-side value of a constraint. In other words, the value of _ACTIVITY_ for the th constraint would be equal to , where refers to the th row of the constraints matrix and denotes the vector of current decision variable values.
Extremely large numerical values might cause computational difficulties for the OPTLP procedure, but the occurrence of such difficulties is hard to predict. For this reason, the OPTLP procedure issues a data error message whenever it detects model data that exceeds a specific threshold number. The value of the threshold number depends on your operating environment and is printed in the log as part of the data error message.
The following conditions produce a data error:
The absolute value of an objective coefficient, constraint coefficient, or range (difference between the upper and lower bounds on a constraint) is greater than the threshold number.
A variable’s lower bound, a or constraint’s right-hand side, or a range constraint’s lower bound is greater than the threshold number.
A variable’s upper bound, a or constraint’s right-hand side, or a range constraint’s upper bound is smaller than the negative threshold number.
If a variable’s upper bound is larger than 1E20, then the OPTLP procedure treats the bound as . Similarly, if a variable’s lower bound is smaller than –1E20, then the OPTLP procedure treats the bound as .