Optimization 1 Prof. Hinze SS 2019 Üb.2, Übungen von Mathematische Optimierung

Toggle sidebar
bg1
Prof. Dr. M. Hinze Summer term 2019
M.Sc. E. Herberg
Exercises for Optimization I
Sheet 2
Discussion: theoretical exercises on April 23, 4:15 pm in K 107,
numerical exercise 1 on April 29/30, 4:15 pm in K 107
Exercise 1: Are the following functions (strictly) convex? Prove (strict) convexity or give a
counterexample.
a) f:R→R, f(x) := x2
b) g:R→R, g(x) := x3
c) h:Rn→R, h(x) := kxk
Exercise 2: Let fbe Lipschitz-continuous and uniformly convex on the non-empty, closed
and convex set X. Prove that in this setting the level set Nf(x0)is compact.
Exercise 3: Show that a local solution x∗of a convex programme is also a global solution.
Exercise 4: Prove the following theorem from the lecture without using that the minimizing
sequence is a Cauchy sequence, instead use the theorem of Bolzano-Weierstraß:
Let X⊂Rnbe non-empty, closed and convex, then the orthogonal projection PX:Rn→X
is well-defined.
Numerical Exercise 1: Implement the descent algorithm with dk=−∇f(xk)and fixed
steplength tk= 0.00125 for the Rosenbrock function f:R2→R
f(x) := 100(x2−x2
1)2+ (1 −x1)2.
Try at least 5 different starting points of your choice. As a termination condition use
k∇f(xk)k<10−5
and don’t iterate more than 105times. Visualize the iteration process.
Descent algorithm
i) x0∈Rngiven, k:= 0 iteration counter
ii) if xksatisfies the termination condition: STOP with x∗=xk
iii) find a descent direction dkof fin xk
iv) find a steplength tksuch that f(xk+tkdk)< f (xk)
v) xk+1 =xk+tkdk, k =k+ 1,go to ii)

Unvollständige Textvorschau

Nur auf Docsity: Lade Optimization 1 Prof. Hinze SS 2019 Üb.2 und mehr Übungen als PDF für Mathematische Optimierung herunter!

Prof. Dr. M. Hinze Summer term 2019 M.Sc. E. Herberg

Exercises for Optimization I Sheet 2

Discussion: theoretical exercises on April 23, 4:15 pm in K 107, numerical exercise 1 on April 29/30, 4:15 pm in K 107

Exercise 1: Are the following functions (strictly) convex? Prove (strict) convexity or give a counterexample.

a) f : R → R, f (x) := x^2

b) g : R → R, g(x) := x^3

c) h : Rn^ → R, h(x) := ‖x‖

Exercise 2: Let f be Lipschitz-continuous and uniformly convex on the non-empty, closed and convex set X. Prove that in this setting the level set Nf (x^0 ) is compact.

Exercise 3: Show that a local solution x∗^ of a convex programme is also a global solution.

Exercise 4: Prove the following theorem from the lecture without using that the minimizing sequence is a Cauchy sequence, instead use the theorem of Bolzano-Weierstraß: Let X ⊂ Rn^ be non-empty, closed and convex, then the orthogonal projection PX : Rn^ → X is well-defined.

Numerical Exercise 1: Implement the descent algorithm with dk^ = −∇f (xk) and fixed steplength tk = 0. 00125 for the Rosenbrock function f : R^2 → R

f (x) := 100(x 2 − x^21 )^2 + (1 − x 1 )^2.

Try at least 5 different starting points of your choice. As a termination condition use

‖∇f (xk)‖ < 10 −^5

and don’t iterate more than 105 times. Visualize the iteration process.

Descent algorithm

i) x^0 ∈ Rn^ given, k := 0 iteration counter

ii) if xk^ satisfies the termination condition: STOP with x∗^ = xk

iii) find a descent direction dk^ of f in xk

iv) find a steplength tk such that f (xk^ + tkdk) < f (xk)

v) xk+1^ = xk^ + tkdk, k = k + 1, go to ii)