Next: Curve Fitting
Up: Numerical Analysis for Chemical
Previous: Linear Algebraic and Equations
Subsections
Figure 4.1:
The illustation of the difference between roots and optima.
|
|
An optimization or mathematical programming problem
Find
, which minimizes or maximizes
subject to
| |
 |
(4.1) |
| |
 |
(4.2) |
where
is an n-dimensional design vector,
is
the objective function,
are inequality constraints,
are equality constraints.
Classification of optimization problem
- The form of
:
- If
and the constraints are linear, linear
programming.
- If
is quadratic and the constraints are linear,
quadratic programming.
- If
is not linear or quadratic and/or the
constraints are nonlinear, nonlinear programming.
- For constrained problem
- Unconstained optimization
- Constrained optimization
- Dimensionality
- One-dimensional problem
- Multi-dimensional problem
Figure 4.2:
The illustation of the Golden-section search method.
|
|
Golden-section search method is similar to the bisection method in solving
for the root of a single nonlinear equation. Golden-section search method
can be achived by specifying that the following two conditions hold:
Defining
 |
(4.5) |
This value is called the golden ratio.
Disadvantages
- Many evaluation
- Time-consuming evaluation
Quadratic interpolation takes advantages of the fact that a second-order
polynomial often provides a good approximation to the shape of
near
an optimum.
An estimate of the optimal
 |
(4.6) |
At an optimum, the optimal value
satisfy
 |
(4.7) |
With a second-order Taylor series of
, we can find the following
equations for an estimate of the optimal
 |
(4.8) |
Classification of unconstrained optimization problems
- Nongradient or direct methods
- Gradient or descent methods
Figure 4.3:
Conjugate directions.
|
|
These methods vary from simple brute force approaches to more elegant
techniques that attempt to exploit the nature of the function.
- random search : repeatedly evaluates the function at randomly
selected values of the independent variables.
- univariate search : change one variable at a time to improve
the approximation while the other variables are held constant. Since only
one variable is changed, the problem reduces to a sequence of
one-dimensional searches.
Gradient methods use derivative information to generate efficient
algorithms to locate optima.
The gradient is defined as
 |
(4.9) |
Derivative information
- First derivative:
- a steepest trajectory of the function
- whether it is a optima
- Second derivative: called as Hessian,
- If
, it is a local minimum
- If
, it is a local maximum
- If
, it is a saddle point
The quantity
is equal to the determinant of a matrix made up of the
second derivatives and, for example, the Hessian of a two-dimensional
system is
The steepest-descent algorithm is summaried as
- Determine the best direction
- Determine the best value along the search direction.
- Calculate the partial derivatives
 |
(4.10) |
- Calculate the search vector
 |
(4.11) |
- Use the relation
 |
(4.12) |
to obtain the value of
. To get
use the
following equations
 |
(4.13) |
To get the minimum, differentiate with respect to
and equate
the derivative to zero
 |
(4.14) |
with the result
 |
(4.15) |
Four general outcome from linear programming
- Unique solution
- Alternate solutions
- No feasible solution
- Unbounded problems
- Matlab:
- fmin : Minimize function of one variable
- fmins : Minimiza function of several varaibles
- fsolve : Solve nonlinear equations by a least squares method
- IMSL : various routines are exist to solve optimization problems
See the textbook
Next: Curve Fitting
Up: Numerical Analysis for Chemical
Previous: Linear Algebraic and Equations
Taechul Lee
2001-11-29