Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The NLMIXED Procedure

Active Set Methods

The parameter vector \theta \in {\cal R}^n can be subject to a set of m linear equality and inequality constraints:
\sum_{j=1}^n a_{ij} \theta_j = b_i    
 i=1, ... , m_e \ \sum_{j=1}^n a_{ij} \theta_j \geq b_i    
 i=m_e+1, ... , m
The coefficients aij and right-hand sides bi of the equality and inequality constraints are collected in the m ×n matrix A and the m vector b.

The m linear constraints define a feasible region G in Rn that must contain the point \theta_{*} that minimizes the problem. If the feasible region G is empty, no solution to the optimization problem exists.

In PROC NLMIXED, all optimization techniques use active set methods. The iteration starts with a feasible point \theta_{(0)},which you can provide or which can be computed by the Schittkowski and Stoer (1979) algorithm implemented in PROC NLMIXED. The algorithm then moves from one feasible point \theta_{(k-1)} to a better feasible point \theta_{(k)} along a feasible search direction s(k),

\theta_{(k)} = \theta_{(k-1)} + \alpha^{(k)} s^{(k)}  ,
  \alpha^{(k)} \gt 0

Theoretically, the path of points \theta_{(k)} never leaves the feasible region G of the optimization problem, but it can reach its boundaries. The active set A(k) of point \theta_{(k)} is defined as the index set of all linear equality constraints and those inequality constraints that are satisfied at \theta_{(k)}. If no constraint is active \theta_{(k)}, the point is located in the interior of G, and the active set {\cal
A}^{(k)} = \emptyset is empty. If the point \theta_{(k)} in iteration k hits the boundary of inequality constraint i, this constraint i becomes active and is added to A(k). Each equality constraint and each active inequality constraint reduce the dimension (degrees of freedom) of the optimization problem.

In practice, the active constraints can be satisfied only with finite precision. The LCEPSILON=r option specifies the range for active and violated linear constraints. If the point \theta_{(k)}satisfies the condition

| \sum_{j=1}^n a_{ij} \theta_j^{(k)} - b_i | \leq t
where t = r (|bi| + 1), the constraint i is recognized as an active constraint. Otherwise, the constraint i is either an inactive inequality or a violated inequality or equality constraint. Due to rounding errors in computing the projected search direction, error can be accumulated so that an iterate \theta_{(k)} steps out of the feasible region.

In those cases, PROC NLMIXED may try to pull the iterate \theta_{(k)} back into the feasible region. However, in some cases the algorithm needs to increase the feasible region by increasing the LCEPSILON=r value. If this happens, a message is displayed in the log output.

If the algorithm cannot improve the value of the objective function by moving from an active constraint back into the interior of the feasible region, it makes this inequality constraint an equality constraint in the next iteration. This means that the active set A(k+1) still contains the constraint i. Otherwise, it releases the active inequality constraint and increases the dimension of the optimization problem in the next iteration.

A serious numerical problem can arise when some of the active constraints become (nearly) linearly dependent. PROC NLMIXED removes linearly dependent equality constraints before starting optimization. You can use the LCSINGULAR= option to specify a criterion r used in the update of the QR decomposition that determines whether an active constraint is linearly dependent relative to a set of other active constraints.

If the solution \theta_{*} is subjected to nact linear equality or active inequality constraints, the QR decomposition of the n ×nact matrix \hat{A}^T of the linear constraints is computed by \hat{A}^T = QR, where Q is an n ×n orthogonal matrix and R is an n ×nact upper triangular matrix. The n columns of matrix Q can be separated into two matrices, Q=[Y,Z], where Y contains the first nact orthogonal columns of Q and Z contains the last n-nact orthogonal columns of Q. The n ×(n-nact) column-orthogonal matrix Z is also called the nullspace matrix of the active linear constraints \hat{A}^T. The n - nact columns of the n ×(n - nact) matrix Z form a basis orthogonal to the rows of the nact ×n matrix \hat{A}.

At the end of the iterating, PROC NLMIXED computes the projected gradient gZ,

gZ = ZTg
In the case of boundary-constrained optimization, the elements of the projected gradient correspond to the gradient elements of the free parameters. A necessary condition for \theta_{*} to be a local minimum of the optimization problem is
g_Z(\theta_{*}) = Z^Tg(\theta_{*}) = 0
The symmetric nact ×nact matrix GZ,
GZ = ZTGZ
is called a projected Hessian matrix. A second-order necessary condition for \theta_{*} to be a local minimizer requires that the projected Hessian matrix is positive semidefinite.

Those elements of the nact vector of first-order estimates of Lagrange multipliers,

\lambda = (\hat{A}\hat{A}^T)^{-1} \hat{A} ZZ^T g
that correspond to active inequality constraints indicate whether an improvement of the objective function can be obtained by releasing this active constraint. For minimization, a significant negative Lagrange multiplier indicates that a possible reduction of the objective function can be achieved by releasing this active linear constraint. The LCDEACT=r option specifies a threshold r for the Lagrange multiplier that determines whether an active inequality constraint remains active or can be deactivated. (In the case of boundary-constrained optimization, the Lagrange multipliers for active lower (upper) constraints are the negative (positive) gradient elements corresponding to the active parameters.)

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.