Previous Page | Next Page

The Unconstrained Nonlinear Programming Solver

Macro Variable _OROPTMODEL_

The OPTMODEL procedure always creates and initializes a SAS macro variable called _OROPTMODEL_. This variable contains a character string. After each PROC OROPTMODEL 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. The various terms of the variable after the NLPU solver is called are interpreted as follows.

STATUS

indicates the solver status at termination. It can take one of the following values:

OK

The solver stops normally.

SYNTAX_ERROR

The use of syntax is incorrect.

DATA_ERROR

The input data is inconsistent.

OUT_OF_MEMORY

The memory allocated to the procedure is insufficient.

IO_ERROR

A problem in reading or writing of data has occurred.

SEMANTIC_ERROR

An evaluation error, such as an invalid operand type, has occurred.

ERROR

The status cannot be classified into any of the preceding categories.

SOLUTION_STATUS

indicates the solution status at termination. It can take one of the following values:

OPTIMAL

The solution is optimal.

CONDITIONAL_OPTIMAL

The optimality of the solution cannot be proven.

INFEASIBLE

The problem is infeasible.

UNBOUNDED

The problem is unbounded.

INFEASIBLE_OR_UNBOUNDED

The problem is infeasible or unbounded.

BAD_PROBLEM_TYPE

The problem type is not supported by solver.

ITERATION_LIMIT_REACHED

The maximum allowable iterations has been reached.

TIME_LIMIT_REACHED

The solver reached its execution time limit.

FAILED

The solver failed to converge, possibly due to numerical issues.

OBJECTIVE

indicates the objective value obtained by the solver at termination.

OPTIMALITY_ERROR

indicates the relative gradient norm at the solution.

ITERATIONS

indicates the number of iterations required to solve the problem.

PRESOLVE_TIME

indicates the real time taken for preprocessing (seconds).

SOLUTION_TIME

indicates the real time taken by the NLPU solver to perform iterations for solving the problem (seconds).

Previous Page | Next Page | Top of Page