
The object ive function can be subjected to either one type of constraint or a mix of
both types of constraints. Optimization pro blems can have up to m equality con-
straints, where m < n and n is the number of variables to be optimized. An equality
or inequality constraint can be further classified as follows:
(1) a linear function in two or more variables (up to n variables),
(2) a nonlinear function in two or more variables (up to n variables),
(3) an assignment function (e.g. y ¼ 10) in the case of an equality constraint, or
(4) a bounding function (e.g. y 0; z 2) in the case of an inequality constraint.
In a one-dimensional optimization problem, only inequality constraints can be
imposed. An equality constraint placed on the objective function would immediately
solve the optimization problem. An inequality constraint(s), such as x 0andx c,
where c is some constant, specifies the search interval. Minimization (or maximization)
of the objective function is performed to locate the optimum x* within the interior of
the search interval. The function is then evaluated at the computed optimum x*, and
compared to the value of the function at the interval endpoints. If the function has the
least value at an endpoint (on the boundary of the variable space) then this point is
chosen as the feasible solution; otherwise the interior optimum, x*, is the answer.
For a multidimensional variable space, several methodo logies have been devised
to solve the constrained optimization problem . When only equality constraints have
been imposed, and m, the number of equality constraints, is small, the best way to
handle the optimization problem is to use the m constraints to reduce the number
of variab les in the objective function to (n – m). Example 8.3 illustrates how an
n-dimensional optimization problem with m equality constraints can be reduced to
an unconstrained optimization problem in (n – m) variables.
Example 8.3
Suppose we have a sheet of cardboard with surface area A. The entire cardboard surface is to be used to
construct a box. Maximize the volume of the open box with a square base that can be made out of this
cardboard.
Suppose each side of the base is of length x and the box height is h. The volume of the box is
V ¼ x
2
h:
Our objective function to be maximized is
fx; h
ðÞ
¼ x
2
h:
The surface area of the box is
A ¼ x
2
þ 4xh:
We have one nonlinear equality constraint,
hx; hðÞ¼x
2
þ 4xh A ¼ 0:
We can eliminate the variable h from the objective function by using the equality constraint to obtain an
expression for h as a function of x. Substituting
h ¼
A x
2
4x
into the objective function, we obtain
fxðÞ¼x
2
A x
2
4x
:
524
Nonlinear model regression and optimization