SLIDE 1
Optimization (Repetition) Convexity
- Convex set S
⇔ λx1 + (1 − λ)x2 ∈ S, ∀x1, x2 ∈ S, ∀λ ∈ [0, 1].
- Convex function f ⇔ Df convex and
f(λx1 + (1 − λ)x2) ≤ λf(x1) + (1 − λ)f(x2), ∀x1, x2 ∈ Df, ∀λ ∈ [0, 1].
- f convex ⇔ epi(f) convex ⇔ f(x + λd) convex ∀x, d: x + λd ∈ Df.
Why convexity is good?
- If f convex then
– loc. min. ⇒ glob. min. – stat.point ⇒ glob. min. Note that glob. min. does not always exist for convex functions (i.e. y = ex).
- For convex minx∈S f: a is a glob. min. ⇔ ∇f(a)T(x − a) ≥ 0, ∀x ∈ S.
- If S = {x ∈ X | g(x) ≤ 0, h(x) = 0} and X convex, f, g convex, h affine ⇒
convex problem.
- For convex problems:
– KKT ⇒ saddle point ⇒ glob. min. – Slater condition: ∃x0 ∈ S: g(x0) < 0 ⇒ no duality gap/saddle point.
How to check that a set S is convex?
- Picture (n ≤ 3) or definition.
- S1, S2 convex ⇒ S1 ∩ S2 convex.
- f convex ⇒ {x | f(x) ≤ const} convex.
How to check that a function f is convex?
- Graph (n ≤ 2) or definition.
- f1, f2 convex ⇒ f1 + f2 convex and max{f1, f2} convex.
- g convex ր and h convex ⇒ g(h(x)) convex.
- g convex and h affine ⇒ g(h(x)) convex.
- f convex ⇔ ∇2f pos.-semidef.