Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The NLP Procedure

Overview

The NLP procedure (NonLinear Programming) offers a set of optimization techniques for minimizing or maximizing a continuous nonlinear function f(x) of n decision variables, x = (x1, ... ,xn)T with lower and upper bound, linear and nonlinear, equality and inequality constraints. This can be expressed as solving
& \min_{x \in {\cal R}^n} f(x) & \ {subject to} & c_i(x) = 0 & i = 1, ... ,m_e \ & c_i(x) \ge 0 & i = m_e+1, ... ,m \ & u_i \ge x_i \ge l_i & i = 1, ... ,n
where f is the objective function, the ci's are the nonlinear functions, and ui, li's are the upper and lower bounds. Problems of this type are found in many settings ranging from optimal control to maximum likelihood estimation.

The NLP procedure provides a number of algorithms for solving this problem that take advantage of special structure on the objective function and constraints. One example is the quadratic programming problem:

f(x) = {1 \over 2} x^T G x + g^T x + b \{subject to} & c_i(x) = 0 & i = 1, ... ,m_e
where the ci(x)'s are linear functions; g = (g1, ... ,gn)T and b = (b1, ... ,bn)T are vectors and G is an n ×n symmetric matrix.

Another example is the least-squares problem:

f(x) = {1 \over 2} \{f^2_1(x) +  ...  + f^2_l(x)\} \{subject to} & c_i(x) = 0 & i = 1, ... ,m_e
where the ci(x)'s are linear functions, and f1(x),...,fm(x) are nonlinear functions of x.

The following problems are handled by PROC NLP.

The following optimization techniques are supported in PROC NLP.

These optimization techniques require a continuous objective function f, and all but one (NMSIMP) require continuous first-order derivatives of the objective function f. Some of the techniques also require continuous second-order derivatives. There are three ways to compute derivatives in PROC NLP:

Nonlinear programs can be input into the procedure in various ways. The objective, constraint, and derivative functions are specified using the programming statements of PROC NLP. In addition, information in SAS data sets can be used to define the structure of objectives and constraints as well as specify constants used in objectives, constraints and derivatives.

PROC NLP uses data sets to input various pieces of information.

PROC NLP uses data sets to output various results.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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