


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Fundamentals of Unconstrained Optimization Optimailty
Lecture Notes #2 — Unconstrained Optimization; Fundamentals
Peter Blomgren, 〈[email protected]〉 Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182- http://terminus.sdsu.edu/
Fall 2009
Fundamentals of Unconstrained Optimization Optimailty
1 Fundamentals of Unconstrained Optimization Quick Review... Characterizing the Solution Some Fundamental Theorems and Definitions...
(^2) Optimailty Necessary vs. Sufficient Conditions; Convexity From Theorems to Algorithms...
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
What are we looking for? Global Optimizer
A solution to the unconstrained optimization problem is a point ˜x∗^ ∈ Rn^ such that
f (˜x∗) ≤ f (˜x), ∀˜x ∈ Rn
Such a point is called a global minimizer. In order to find a global optimizer we need information about the objective on a global scale. — Unless we have special information (such as convexity of f ), this information is “expensive” since we would have to evaluate f in (infinitely?) many points.
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
What are we looking for? Local Optimizers, 1 of 3
Most algorithms will take a starting point ˜x 0 and use information about f , and possibly its derivative(s) in order to compute a point ˜x 1 which is “closer to optimal” than ˜x 0 , in the sense that
f (˜x 1 ) ≤ f (˜x 0 )
Then the algorithm will use information about f + derivative(s) in ˜x 1 (and possibly in ˜x 0 — this increases the storage requirement) to find ˜x 2 such that f (˜x 2 ) ≤ f (˜x 1 ) ≤ f (˜x 0 )
An algorithm of this type will only be able to find a local minimizer.
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
What are we looking for? Local Optimizers, 3 of 3
Definition (Isolated Local Minimizer) A point ˜x∗^ ∈ Rn^ is an isolated local minimizer if there is a neighborhood N of ˜x∗^ ∈ Rn^ such that ˜x∗^ is the only local minimizer in N.
−0.1^0 −0.08 −0.06 −0.04 −0.02 0 0.02 0.04 0.06 0.08 0.
−0.01^0 −0.008 −0.006 −0.004 −0.002 0 0.002 0.004 0.006 0.008 0.
1
2
3 x 10−
Figure: The objective f (x) = x^2 (2 + cos(1/x)) has a strict local minimizer at x = 0, however there are strict local minimizers at infinitely many neighboring points. x∗^ = 0 is not an isolated minimizer.
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
Recognizing A Local Minimum
If we are given a point ˜x ∈ Rn^ how do we know if it is a (local) minimizer??? — Do we have to look at all the points in the neighborhood? If/when the objective function f is differentiable we can recognize a minimum by looking at the first and second derivatives — the gradient ∇f (˜x) and the Hessian ∇^2 f (˜x) The key tool is the multi-dimensional version of Taylor’s Theorem (Taylor expansions).
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
Taylor’s Theorem
Theorem (Taylor’s Theorem) Suppose that f : Rn^ → R is continuously differentiable, and that ˜p ∈ Rn. Then,
f (˜x + ˜p) = f (˜x) + ∇f (˜x + t˜p)T^ ˜p,
for some t ∈ (0, 1). Moreover, if f is twice continuously differentiable, then
∇f (˜x + ˜p) = ∇f (˜x) +
0
∇^2 f (˜x + t˜p)˜p dt
and f (˜x + ˜p) = f (˜x) + ∇f (˜x)T^ p˜ +
˜pT^ ∇^2 f (˜x + t˜p)˜p
for some t ∈ (0, 1).
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
Optimality: First Order Necessary Conditions (Theorem)
Theorem (First-order Necessary Conditions) If ˜x∗^ is a local minimizer and f is continuously differentiable in an open neighborhood of ˜x∗, then ∇f (˜x∗) = 0.
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
Optimality: Language and Notation
If ∇f (˜x∗) = 0, then we call ˜x∗^ a stationary point. Recall from linear algebra — Definition (Positive Definite Matrix) An n × n-matrix A is Positive Definite if and only if
∀˜x 6 = 0, ˜xt^ A˜x =
∑^ n
i=
∑^ n
j=
aij xi xj > 0
Definition (Positive Semi-Definite Matrix) An n × n-matrix A is Positive Semi-Definite if and only if
∀˜x 6 = 0, ˜xt^ A˜x =
∑^ n
i=
∑^ n
j=
aij xi xj ≥ 0
Fundamentals of Unconstrained Optimization Optimailty
Quick Review... Characterizing the SolutionSome Fundamental Theorems and Definitions...
Optimality: Second-Order Necessary Conditions
Theorem (Second-Order Necessary Conditions) If ˜x∗^ is a local minimizer of f and ∇^2 f is continuous in an open neighborhood of ˜x∗, then ∇f (˜x∗) = 0 and ∇^2 f (˜x∗) is positive semi-definite.
Proof. ∇f (˜x∗) = 0 follows from the previous proof. We show that ∇^2 f (˜x∗) is positive semi-definite by contradiction: Assume that ∇^2 f (˜x∗) is not positive semi-definite. Then there must exist a vector ˜p such that ˜pt^ ∇^2 f (˜x∗)˜p < 0. By continuity of ∇^2 f there is a T > 0 such that ˜pt^ ∇^2 f (˜x∗^ + tp˜)˜p < 0 ∀t ∈ [0, T ]. Now, the Taylor expansion around ˜x∗, shows that ∀s ∈ (0, T ] there exists t ∈ (0, T ) such that
+^12 s^2 ˜p | T^ ∇^2 f (˜x{z∗ + t˜p)˜p} < 0
.
Hence f (˜x∗^ + s˜p) < f (˜x∗), which is a contradiction.
Fundamentals of Unconstrained Optimization Optimailty Necessary vs. Sufficient Conditions; Convexity From Theorems to Algorithms...
Optimality: Second-order Sufficient Conditions (Theorem)
Theorem (Second-order Sufficient Conditions) Suppose that ∇^2 f is continuous in an open neighborhood of ˜x∗ and that ∇f (˜x∗) = 0 and ∇^2 f (˜x∗) is positive definite. Then ˜x∗^ is a strict local minimizer of f.
Fundamentals of Unconstrained Optimization Optimailty Necessary vs. Sufficient Conditions; Convexity From Theorems to Algorithms...
Optimality: Second-order Sufficient Conditions (Proof)
Proof. Since the Hessian ∇^2 f (˜x∗) is positive definite, we can find a open ball of positive radius r , D(r ; ˜x∗) = {˜y ∈ Rn^ : ‖˜x∗^ − ˜y‖ < r }, so that ∇^2 f (˜y) is positive definite ∀˜y ∈ D. Now, for any vector ˜p such that ‖˜p‖ < r , we have ˜x∗^ + ˜p ∈ D and therefore (by Taylor)
f (˜x∗^ + ˜p) = f (˜x∗) + ˜pT^ ∇f (˜x∗) ︸ ︷︷ ︸ =
˜pT^ ∇^2 f (˜x∗^ + t˜p)˜p ︸ ︷︷ ︸ > 0
for some t ∈ (0, 1). Hence it follows that f (˜x∗) < f (˜x∗^ + ˜p), and so ˜x∗^ must be a strict local minimizer.
Fundamentals of Unconstrained Optimization Optimailty Necessary vs. Sufficient Conditions; Convexity From Theorems to Algorithms...
Optimality: Convexity 2 of 3
Proof (part-1). Suppose that ˜x∗^ is a local, but not a global minimizer. Then there must exist a point ˜z ∈ Rn^ such that f (˜z) < f (˜x∗). Consider the line-segment that joins ˜x∗^ and ˜z:
˜y(λ) = λ˜z + (1 − λ)˜x∗, λ ∈ [0, 1]
Since f is convex we must have [by definition]
f (˜y(λ)) ≤ λf (˜z) + (1 − λ)f (˜x∗) < f (˜x∗), λ ∈ (0, 1]
Every neighborhood of ˜x∗^ will contain a piece of the line-segment, hence ˜x∗^ cannot be a local minimizer.
Fundamentals of Unconstrained Optimization Optimailty Necessary vs. Sufficient Conditions; Convexity From Theorems to Algorithms...
Optimality: Convexity 3 of 3
Proof (part-2). Suppose that ˜x∗^ is a local but not a global minimizer, and let ˜z be such that f (˜z) < f (˜x∗). Using convexity, and the definition of a directional derivative (NW2nd^ p-628), we have
∇f (˜x∗)T^ (˜z − ˜x∗) = d dλ
f (˜x∗^ + λ(˜z − ˜x∗))
λ= = lim λց 0
f (˜x∗^ + λ(˜z − ˜x∗)) − f (˜x∗) λ ≤ lim λց 0
λf (˜z) + (1 − λ)f (˜x∗) − f (˜x∗) λ = f (˜z) − f (˜x∗) < 0.
Therefore, ∇f (˜x∗) 6 = 0, so ˜x∗^ cannot be a stationary point. This contradicts the supposition that f is a local minimum.