Lecture3-PO SS2011 04.1 MultidimensionalOptimizationUnconstrained p9
Lecture3-PO SS2011 04.1 MultidimensionalOptimizationUnconstrained p9
Lecture3-PO SS2011 04.1 MultidimensionalOptimizationUnconstrained p9
Sebastian Engell
Process Dynamics and Operations Group
4. Multidimensional Optimization
4.1 Unconstrained Problems
min
xR
f(x)
f (x )
f(x*)
x2
( )+ f (x ) (x x )
f (x ) f x
(0 )
(0 )
x
1
(
0)
Gradient: f x =
f
x
n
(0 )
( )
Process Optimization
( )(
x*
1
(0 ) T
(0 )
(0 )
+ xx
H x x x +
2
2
2f
2
x1xn
x1
Hessian: H x (0 ) =
2
2
f
2
xn x1
x
x (0 )
( )
x (0 )
x1
20114.1.1
Analytical Solution
( )
( )
H x*
is positive definite
( )
*
the set of (nonlinear) equations f x = 0 can be solved for x*.
20114.1.2
Direct Methods
Univariate search:
fix n-1 variables, search for the
optimum of the remaining;
alternate between the coordinates
Simplex Method:
Alternative Methods:
x*
x2
x(1)
x(0)
x2
x1
x*
x1
20114.1.3
Indirect Methods
Abstract scheme:
(a) choose an initial point x(0); step index: i = 0
(b) determine a search direction d(i)
s(i):
min f x (i ) + s (i ) d (i )
s >0
(i +1) = x (i ) + s (i ) d (i )
result: x
(d) stop if
f x (i +1) <
x(1)
x2
x(2)
s(0)
x*
d(0)
x(0)
x1
to go in direction of
decreasing cost:
( )
( )
(
i) T
f x (i ) < 0
d
20114.1.4
( )
d (i ) = f x (i )
d(i)
s(i)
( )
*
20114.1.5
Newton Method
as in the scalar case: Taylor series approximation of f (x) and use
of the necessary condition
with stepsize:
( ) ( )
x (i +1) = x (i ) s (i ) H 1(x (i ) ) f (x (i ) )
x (i +1) = x (i ) H 1 x (i ) f x (i )
20114.1.6
Scheme:
( )
(0 )
y (i 1) = f (x (i ) ) f (x (i 1) ) , G = I
x (i +1) = x (i ) + s (i ) d (i ) with d (i ) = G f x (i )
T G y y G
(
i)
T
G = G + T
y
y G y
Process Optimization
(i 1)
20114.1.7
y
G
y
y
G
G
y
G (i ) = G + 1 + T
T
T
y y
y
(i 1)
Properties:
+ convergence between linear and quadratic
+ smaller effort as for the Newton method
Process Optimization
20114.1.8
(
i 1) T
i.e.,: d
Q d (i ) = 0
f T (i ) f (i )
(
(
0)
0)
(
(
(
i)
i)
i 1)
scheme: d = f x
, d = f x + d
T (i 1)
f
f (i 1)
( )
( )
)
)
20114.1.9