Previous Page | Next Page

The NLPC Nonlinear Optimization Solver

Optimality Control

The ABSOPTTOL= and OPTTOL= options are based on satisfying the first-order necessary conditions. In particular, the stationarity condition requires the gradient of the objective function or Lagrange function to be zero at the optimal point , i.e.,

     

in unconstrained cases and

     

in constrained cases.

Since the computation is carried out in finite-precision arithmetic, rounding errors prevent the algorithms from exactly satisfying the preceding condition. Instead, we terminate the algorithms at some small threshold values for the preceding gradients. These threshold values can be measured in an absolute or relative sense. We define , the absolute optimality error at , as

     

for unconstrained problems, or

     

for constrained problems. We define , the relative optimality error at , as

     

for unconstrained problems, or

     

for constrained problems.

An optimization algorithm terminates at if both termination criteria as specified by the ABSOPTTOL= and OPTTOL= options are satisfied— that is, if and . The default value of ABSOPTTOL=E effectively prevents an algorithm from terminating at some point where the absolute optimality error, as measured by the maximum magnitude of the gradient elements at , is large but the relative optimality error is small.

If you set a very small value for the ABSOPTTOL= or OPTTOL= option, depending on the problem, the termination criteria might not be able to be satisfied. This is especially true when a very small value of the ABSOPTTOL= option is used, and it often occurs when the magnitudes of the objective value or the gradient elements are very large. It can also occur when finite-difference approximations of derivatives are used.

In addition, the complementarity condition must be satisfied at the optimal point . This condition is checked at the end of the optimization by using the same criteria characterized by the ABSOPTTOL= or OPTTOL= option. See the section Conditions of Optimality for more information about the optimality conditions.

Previous Page | Next Page | Top of Page