The Linear Programming Solver |
Macro Variable _OROPTMODEL_ |
The OPTMODEL procedure always creates and initializes a SAS macro called _OROPTMODEL_. This variable contains a character string. After each PROC OROPTMODEL run, you can examine this macro by specifying %put &_OROPTMODEL_; and check the execution of the most recently invoked solver from the value of the macro variable. The various terms of the variable after the LP solver is called are interpreted as follows.
indicates the solver status at termination. It can take one of the following values:
solver terminated normally
incorrect use of syntax
inconsistent input data
insufficient memory allocated to the procedure
problem in reading or writing of data
evaluation error, such as an invalid operand type
status that cannot be classified into any of the preceding categories
indicates the solution status at termination. It can take one of the following values:
solution is optimal
solution is optimal, but some infeasibilities (primal, dual or bound) exceed tolerances due to scaling or preprocessing
problem is infeasible
problem is unbounded
problem is infeasible or unbounded
problem type is unsupported by solver
maximum allowable iterations reached
solver reached its execution time limit
solver reached its limit on function evaluations
solver failed to converge, possibly due to numerical issues
When SOLUTION_STATUS has a value of OPTIMAL, CONDITIONAL_OPTIMAL, ITERATION_LIMIT_REACHED, or TIME_LIMIT_REACHED, all terms of the _OROPTMODEL_ macro variable are present; for other values of SOLUTION_STATUS, some terms do not appear.
indicates the objective value obtained by the solver at termination.
indicates the maximum (absolute) violation of the primal constraints by the primal solution.
indicates the maximum (absolute) violation of the dual constraints by the dual solution.
indicates the maximum (absolute) violation of the lower and/or upper bounds by the primal solution.
indicates the (relative) duality gap. This term appears only if the option SOLVER= ITERATIVE_INTERIOR is specified in the SOLVE statement.
indicates the number of iterations taken to solve the problem.
indicates the time for preprocessing (seconds).
indicates the time taken to solve the problem (seconds).
When SOLUTION_STATUS has a value of OPTIMAL, CONDITIONAL_OPTIMAL, ITERATION_LIMIT_REACHED, or TIME_LIMIT_REACHED, all terms of the _OROPTMODEL_ macro variable are present; for other values of SOLUTION_STATUS, some terms do not appear.
Copyright © SAS Institute, Inc. All Rights Reserved.