Macro Variable _OROPTMODEL_ |
The OPTMODEL procedure always creates and initializes a SAS macro variable called _OROPTMODEL_, which contains a character string. After each PROC OPTMODEL run, you can examine this macro variable by specifying %put &_OROPTMODEL_; and check the execution of the most recently invoked solver from the value of the macro variable. After the NLP solver is called, the various terms of the variable are interpreted as follows:
indicates the solver status at termination. It can take one of the following values:
The solver terminated normally.
The use of syntax is incorrect.
The input data are inconsistent.
Insufficient memory was allocated to the procedure.
A problem in reading or writing of data has occurred.
An evaluation error, such as an invalid operand type, has occurred.
The status cannot be classified into any of the preceding categories.
indicates the solution status at termination. It can take one of the following values:
The solution is optimal.
The optimality of the solution cannot be proven.
The solution returned is the best feasible solution. This solution status indicates that the algorithm has converged to a local optimum but a feasible (not locally optimal) solution with a better objective value has been found and hence is returned.
The problem is infeasible.
The problem might be unbounded.
The problem is infeasible or unbounded.
The problem type is not supported by the solver.
The maximum allowable number of iterations has been reached.
The solver reached its execution time limit.
The solver failed to converge, possibly due to numerical issues.
indicates the objective value that is obtained by the solver at termination.
indicates the level of infeasibility of the constraints at the solution.
indicates the norm of the optimality conditions at the solution. See the section Solver Termination Criterion for details.
indicates the number of iterations required to solve the problem.
indicates the real time taken for preprocessing (seconds).
indicates the real time taken by the solver to perform iterations for solving the problem (seconds).