Lecture 2
Lecture 2
Lecture 2
Solmaz S. Kia
Mechanical and Aerospace Engineering Dept.
University of California Irvine
[email protected]
1 / 19
Unconstrained optimization
x? =argmin f(x)
x∈Rn
f(x? ) 6 f(x), ∀x ∈ Rn ,
2 / 19
Necessary conditions for optimality
D ∈ Rn is a feasible
direction at x ∈ X for OPT
if (x + αd) ∈ X for
α ∈ [0, ᾱ]
Proposition:
First order necessary condition (FONC) consider OPT and let f ∈ C1 if x?
is a local minimizer for f then
∇f(x? )> d > 0, ∀d ∈ Rn , d is a feasible direction
Second order necessary condition (SONC) let f ∈ C2 if x? is a local
minimizer for f then
(i) ∇f(x? )> d > 0
(ii) if ∇f(x? ) = 0 ⇒ d> ∇2 f(x? )d > 0 ∀d ∈ Rn , d is a feasible direction
3 / 19
Necessary conditions for optimality
x? =argmin f(x)
x∈Rn
x? =argmin f(x)
x∈Rn
5 / 19
Stationary points: example
Local minimum point that does not satisfy the sufficiency condition
∇f(x? ) = 0, ∇f(x? ) > 0 is called singular otherwise it is called nonsingular.
Singular local minima are harder to deal with
In the absence of convexity of f, their optimality cannot be ascertained using
easily verifiable sufficient conditions
In their neighborhood, the behavior of most commonly used optimization
algorithms tends to be slow and /or erratic
7 / 19
Convex sets and convex functions (see Appendix B of Ref[1])
8 / 19
Convex function
10 / 19
Numerical solvers (see Section 1.2 of Ref[1])
xk+1 = xk + αk dk
Design factors in iterative descent algorithms:
what direction to move: descent direction
how far move in that direction: step size
11 / 19
Successive descent method
xk+1 = xk + αk dk
1st order Taylor series : f(xk+1 ) = f(xk + αk dk ) ≈ f(xk ) + αk ∇f(xk )> dk
for successive reduction: αk ∇f(xk )> dk < 0
If ∇f(xk ) 6= 0
12 / 19
Steepest descent method
xk+1 = xk + αk dk
1st order Taylor series : f(xk+1 ) = f(xk + αk dk ) ≈ f(xk ) + αk ∇f(xk )> dk
for successive reduction: αk ∇f(xk )> dk < 0
14 / 19
Newton’s method
xk+1 = xk + αk dk
| {z }
∆xk
17 / 19
Practical Stopping Conditions for Iterative Optimization Algorithms for
Unconstrained Optimization
19 / 19