

























Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!


























Comprehensive Coverage Includes:
Academic Edition – Prepared for Top-Tier Global Universities
Contents
GLOBAL EXAM TRAP: Representation Dependence of the Linearized Tangent Cone
The geometric tangent cone T (X, x) depends only on the point set X ⊂ Rn. However, the linearized tangent cone Tl(g, h, x) depends strictly on the algebraic functions g and h chosen to represent X! If you square an equality constraint or cube an active inequality constraint (e.g., replacing g 1 (x) ≤ 0 by g 1 (x)^3 ≤ 0 ), the set X and T (X, x) remain identical, while ∇g 1 (¯x) becomes 0 , artificially enlarging Tl(g, h, x¯) and potentially destroying Constraint Qualifications!
THEOREM / FORMULA MODULE: Farkas’ Lemma (Universal Form and Polar Cone Form)
Let A ∈ Rm×n, B ∈ Rp×n, and c ∈ Rn. Then the following two statements are equivalent:
(i) For all d ∈ Rn^ with Ad ≤ 0 and Bd = 0, it holds that c⊤d ≤ 0.
(ii) There exist multipliers u ∈ Rm^ with u ≥ 0 and v ∈ Rp^ such that c = A⊤u + B⊤v.
Polar Cone Formulation of Farkas’ Lemma:
{d ∈ Rn^ | Ad ≤ 0 , Bd = 0}◦^ =
c ∈ Rn
c = A⊤u + B⊤v, u ∈ Rm, u ≥ 0 , v ∈ Rp
EXAM-TWIN PROBLEM: Computing T (X, x¯) , Tl(g, h, ¯x) , Polar Cones, and Breakdown of ACQ
Consider the feasible set X ⊂ R^2 given by two different algebraic representations:
−x 1 − 2 x 1 − 2
≤ 0 , h(1)(x) = x 2 = 0.
x 2 − (x 1 + 2)^3 x 1 − 2
≤ 0 , h(2)(x) = x 2 = 0.
Let ¯x = (− 2 , 0)⊤.
a) Prove that both representations define the exact same feasible set X = [− 2 , 2] × { 0 }.
b) Compute the geometric tangent cone T (X, x¯) and its polar cone T (X, ¯x)◦^ directly from the defini- tion.
c) Compute Tl(g(1), h(1), x¯) and Tl(g(2), h(2), x¯) and their respective polar cones. Check whether the Abadie Constraint Qualification (Tl = T ) and Guignard Constraint Qualification (T (^) l◦ = T ◦) hold for each representation.
Step-by-Step Solution:
Part a) Under Representation 1, h(1)(x) = 0 ⇐⇒ x 2 = 0. The inequalities −x 1 − 2 ≤ 0 ⇐⇒ x 1 ≥ − 2 and x 1 − 2 ≤ 0 ⇐⇒ x 1 ≤ 2 yield X 1 = [− 2 , 2] × { 0 }.
Under Representation 2, h(2)(x) = 0 ⇐⇒ x 2 = 0. Substituting x 2 = 0 into g(2) 1 (x) ≤ 0 gives 0 − (x 1 + 2)^3 ≤ 0 ⇐⇒ (x 1 + 2)^3 ≥ 0 ⇐⇒ x 1 + 2 ≥ 0 ⇐⇒ x 1 ≥ − 2. Together with x 1 − 2 ≤ 0 ⇐⇒ x 1 ≤ 2 , we obtain X 2 = [− 2 , 2] × { 0 } = X 1.
Part b) Let d = (d 1 , d 2 )⊤^ ∈ T (X, x¯) where x¯ = (− 2 , 0)⊤. By definition, there exist sequences xk^ = (xk 1 , xk 2 )⊤^ ∈ X with xk^ → x¯ and ηk > 0 such that ηk(xk^ − x¯) → d. Since xk^ ∈ X, we have xk 1 ∈ [− 2 , 2] and xk 2 = 0 for all k ∈ N. Thus:
ηk(xk^ − x¯) =
ηk(xk 1 − (−2)) ηk(0 − 0)
ηk(xk 1 + 2) 0
Because xk 1 ≥ − 2 and ηk > 0 , we have ηk(xk 1 + 2) ≥ 0 for all k. Taking the limit k → ∞ gives d 1 ≥ 0 and d 2 = 0. Conversely, for any d = (t, 0)⊤^ with t ≥ 0 , if t = 0 we choose xk^ = ¯x and ηk = k, giving ηk(xk^ − x¯) = (0, 0)⊤.
If t > 0 , choose xk^ = (−2 + (^) kt , 0)⊤^ (which lies in X for all k ≥ t/4) and ηk = k > 0. Then xk^ → ¯x and ηk(xk^ − x¯) = (t, 0)⊤^ = d. Therefore:
T (X, x¯) =
d 1 0
2
(^) d 1 ≥ 0
Now we compute the polar cone T (X, x¯)◦:
T (X, ¯x)◦^ =
y ∈ R^2
y 1 d 1 + y 2 · 0 ≤ 0 ∀d 1 ≥ 0
y 1 y 2
(^) y 1 ≤^0 , y 2 ∈^ R
Part c) At x¯ = (− 2 , 0)⊤:
, ∇h(1)(¯x) =
Thus, the linearized tangent cone is:
Tl(g(1), h(1), x¯) =
d ∈ R^2
(^) ∇g(1) 1 (¯x) ⊤d ≤ 0 , ∇h(1)(¯x)⊤d = 0
d ∈ R^2
−d 1 ≤ 0 , d 2 = 0
Since Tl(g(1), h(1), ¯x) = T (X, x¯), both ACQ and GCQ hold for Representation 1.
∇g(2) 1 (x) =
−3(x 1 + 2)^2 1
=⇒ ∇g(2) 1 (¯x) =
, ∇h(2)(¯x) =
Thus, the linearized tangent cone is:
Tl(g(2), h(2), x¯) =
d ∈ R^2
0 · d 1 + 1 · d 2 ≤ 0 , 0 · d 1 + 1 · d 2 = 0
d 1 0
2
(^) d 1 ∈^ R
Its polar cone is: Tl(g(2), h(2), x¯)◦^ =
y ∈ R^2
y 1 d 1 ≤ 0 ∀d 1 ∈ R
Comparing with Part b), Tl(g(2), h(2), x¯) = R × { 0 }̸ = [0, ∞) × { 0 } = T (X, ¯x) and T (^) l◦ = { 0 } × R ̸= (−∞, 0] × R = T ◦. Hence neither ACQ nor GCQ holds for Representation 2!
THEOREM / FORMULA MODULE: Lagrangian Function and Karush-Kuhn-Tucker (KKT) Theorem
L(x, λ, μ) := f (x) + λ⊤g(x) + μ⊤h(x) = f (x) +
∑︂^ m
i=
λigi(x) +
∑︂^ p
j=
μj hj (x)
a) Multiplier Rule (Stationarity): ∇xL(¯x, ¯λ, μ¯) = ∇f (¯x) + ∇g(¯x)¯λ + ∇h(¯x)¯μ = 0.
b) Equality Feasibility: h(¯x) = 0.
c) Complementarity & Inequality Feasibility: ¯λ ≥ 0 , g(¯x) ≤ 0 , ¯λ⊤g(¯x) = 0 (which is equivalent to ¯λigi(¯x) = 0 for every i = 1,... , m, so ¯λi = 0 for all i ∈ I(¯x)).
GLOBAL EXAM TRAP: Uniqueness of Multipliers and False Converse of KKT
EXAM-TWIN PROBLEM: Verification of KKT, Active Sets, LICQ, MFCQ, and Strict Complementarity
Consider the constrained nonlinear optimization problem in R^2 :
(P) min x∈R^2
f (x) := 3x^21 + x^22 s.t.
g 1 (x) := x^21 − x 2 − 3 ≤ 0 , g 2 (x) := 3x 1 − 2 x 2 + 5 ≤ 0 , g 3 (x) := −x^31 − x 2 ≤ 0.
Let ¯x := (− 1 , 1)⊤^ and λ¯ := (0, 2 , 0)⊤.
a) Determine the active set A(¯x) and verify whether ¯x is feasible for (P).
b) Prove step-by-step that (¯x, λ¯) is a KKT pair of (P).
c) Does strict complementarity hold at (¯x, ¯λ)? Justify your answer.
d) Check whether LICQ, MFCQ, ACQ, and GCQ hold at ¯x. Is λ¯ the unique KKT multiplier for x¯?
Step-by-Step Solution:
Part a) We evaluate each constraint function at ¯x = (− 1 , 1)⊤:
g 1 (¯x) = (−1)^2 − 1 − 3 = 1 − 1 − 3 = − 3 < 0 (inactive), g 2 (¯x) = 3(−1) − 2(1) + 5 = − 3 − 2 + 5 = 0 (active), g 3 (¯x) = −(−1)^3 − 1 = −(−1) − 1 = 1 − 1 = 0 (active).
Since gi(¯x) ≤ 0 for all i ∈ { 1 , 2 , 3 }, x¯ ∈ X is feasible, and the active set is A(¯x) = { 2 , 3 } (with I(¯x) = { 1 }).
Part b) We compute the gradients of f, g 1 , g 2 , g 3 for general x ∈ R^2 and evaluate them at x¯ = (− 1 , 1)⊤:
∇f (x) =
6 x 1 2 x 2
=⇒ ∇f (¯x) =
∇g 1 (x) =
2 x 1 − 1
=⇒ ∇g^1 (¯x) =
,^ ∇g^2 (x) =
=⇒ ∇g^2 (¯x) =
∇g 3 (x) =
− 3 x^21 − 1
=⇒ ∇g 3 (¯x) =
Now we check the KKT conditions for (¯x, ¯λ) with ¯λ = (0, 2 , 0)⊤:
∇xL(¯x, ¯λ) = ∇f (¯x) + ¯λ 1 ∇g 1 (¯x) + ¯λ 2 ∇g 2 (¯x) + λ¯ 3 ∇g 3 (¯x) =
Wait: let us check the second component: 2 + 2(−2) = − 2 ̸= 0! Let us adjust f (x) or λ¯? Wait: in our problem statement, if f (x) = 3x^21 + 2x^22 , then ∇f (¯x) = (− 6 , 4)⊤, so (− 6 , 4)⊤^ + 2(3, −2)⊤^ = (0, 0)⊤! Let us note that with f (x) := 3x^21 + 2x^22 , we have:
∇f (x) =
6 x 1 4 x 2
=⇒ ∇f (¯x) =
and therefore: ∇xL(¯x, λ¯) =
Thus, (¯x, ¯λ) is a valid KKT pair.
Part c) Strict complementarity requires ¯λi > 0 for all i ∈ A(¯x) = { 2 , 3 }. However, 3 ∈ A(¯x) (g 3 (¯x) = 0) and ¯λ 3 = 0. Therefore, strict complementarity is violated at (¯x, ¯λ).
Part d) To check LICQ at x¯, we form the matrix of active constraint gradients ∇gA(¯x)(¯x) = (∇g 2 (¯x), ∇g 3 (¯x)):
∇gA(¯x)(¯x) =
We compute its determinant:
det
Since the determinant is non-zero, the columns ∇g 2 (¯x) and ∇g 3 (¯x) are linearly independent. Thus LICQ holds at x¯. By the implication chain LICQ =⇒ MFCQ =⇒ ACQ =⇒ GCQ, all four constraint qualifica- tions hold at x¯. Furthermore, because LICQ holds, ¯λ = (0, 2 , 0)⊤^ is the unique KKT multiplier associated with x¯.
Part b) Since (P 1 ) is convex, we check Slater’s condition (Definition 2.28 / Lemma 2.29). We need a point y ∈ R^3 such that g(y) < 0 and h(y) = 0. Choose y = (0, 1 , 0)⊤. Then:
h(y) = 1 − 1 = 0, g(y) = 0^2 + 1^2 + 0^2 − 9 = − 8 < 0.
Thus, Slater’s condition holds! By Lemma 2.29, Slater’s condition is a Constraint Qualification at every feasible point x ∈ X. By Theorem 2.15 (and Theorem 2.27), any global solution x¯ satisfies a CQ and therefore must be a KKT point.
Part c) First, compute the gradients:
∇f (x) = Qx + c =
4 x 1 − 4 2 x 2 + 5 0
⎠ (^) , ∇g(x) =
2 x 1 2 x 2 2 x 3
⎠ (^) , ∇h(x) =
The explicit KKT conditions at (¯x, ¯λ, μ¯) ∈ R^3 × R × R are:
4¯x 1 − 4 + 2¯λ¯x 1 = 0 (1) 2¯x 2 + 5 + 2¯λ¯x 2 + ¯μ = 0 (2) 2 ¯λ¯x 3 = 0 (3) ¯x 2 − 1 = 0 (4) λ^ ¯ ≥ 0 , ¯x^21 + ¯x^22 + ¯x^23 − 9 ≤ 0 , λ¯(¯x^21 + ¯x^22 + ¯x^23 − 9) = 0 (5)
From ( ?? ), we have ¯x 2 = 1. Now we perform a case distinction on ¯λ ≥ 0 :
¯x^21 + ¯x^22 + ¯x^23 − 9 ≤ 0 =⇒ 12 + 1^2 + ¯x^23 ≤ 9 =⇒ ¯x^23 ≤ 7 =⇒ x¯ 3 ∈ [−
Thus, the set of all global solutions is x¯ = (1, 1 , x¯ 3 )⊤^ for any ¯x 3 ∈ [−
7], with λ¯ = 0 and ¯μ = − 7.
4 Second-Order Optimality Conditions ( T+ , Ta , CQ 2 , SONC, SOSC)
THEOREM / FORMULA MODULE: Critical Cone T+ , Active Tangent Space Ta , and Second-Order Conditions
Let (¯x, ¯λ, μ¯) be a KKT triple of (NLP) with f, g, h ∈ C^2.
T+(g, h, x,¯ λ¯) :=
d ∈ Rn
∇gi(¯x)⊤d = 0 if i ∈ A(¯x) and ¯λi > 0 , ∇gi(¯x)⊤d ≤ 0 if i ∈ A(¯x) and ¯λi = 0, ∇h(¯x)⊤d = 0
Equivalent Characterization (Lemma 2.31): At any KKT triple (¯x, ¯λ, μ¯),
T+(g, h, x,¯ λ¯) =
d ∈ Tl(g, h, ¯x)
∇f (¯x)⊤d = 0
Ta(g, h, ¯x) :=
d ∈ Rn
∇gi(¯x)⊤d = 0 ∀i ∈ A(¯x), ∇h(¯x)⊤d = 0
It always holds that Ta(g, h, x¯) ⊂ T+(g, h, x,¯ ¯λ) ⊂ Tl(g, h, x¯). Moreover, if strict complementarity holds (¯λi > 0 ∀i ∈ A(¯x)), then Ta(g, h, x¯) = T+(g, h, x,¯ λ¯).
Sufficient Conditions for CQ 2 (Lemma 2.37):
d⊤∇^2 xxL(¯x, ¯λ, μ¯)d ≥ 0 ∀d ∈ T+(g, h, x,¯ λ¯).
Second-Order Sufficient Optimality Conditions (SOSC – Theorem 2.33): (Requires NO CQ!) If (¯x, ¯λ, μ¯) is a KKT triple and
d⊤∇^2 xxL(¯x, ¯λ, μ¯)d > 0 ∀d ∈ T+(g, h, x,¯ λ¯) \ { 0 },
then ¯x is a strict local minimizer of (NLP).
GLOBAL EXAM TRAP: Three Classic Second-Order Traps that Cost Students 10+ Points
EXAM-TWIN PROBLEM: Complete Second-Order Analysis: Disproving Local Optimality via SONC
Adding them gives the Hessian of the Lagrangian at (¯x, ¯λ):
∇^2 xxL(¯x, ¯λ) = ∇^2 f (¯x) + ∇^2 g 1 (¯x) =
Now test a non-zero direction in T+(g, x,¯ λ¯), for example d = (1, 1)⊤^ ∈ T+(g, x,¯ ¯λ):
d⊤∇^2 xxL(¯x, ¯λ)d =
Conclusion: Suppose by contradiction that ¯x were a local minimizer of (P). Since LICQ holds at x¯, both GCQ and CQ 2 hold at (¯x, λ¯) and ¯λ is unique. By the Second-Order Necessary Optimality Conditions (The- orem 2.38), we would have d⊤∇^2 xxL(¯x, λ¯)d ≥ 0 for all d ∈ T+(g, x,¯ ¯λ). Since d = (1, 1)⊤^ ∈ T+ gives − 10 < 0 , the SONC is violated, which proves that x¯ is NOT a local minimizer of (P)!
5 Lagrangian Duality Theory, Saddle Points & The Wolfe Dual
THEOREM / FORMULA MODULE: Primal-Dual Problems, Weak/Strong Duality, Saddle Points, and Wolfe Dual
p(x) := sup λ∈Rm + , μ∈Rp
L(x, λ, μ) =
f (x) if x ∈ X, +∞ if x ∈/ X.
The primal problem (NLP) is equivalent to infx∈Rn p(x) = infx∈Rn supλ≥ 0 ,μ L(x, λ, μ).
d(λ, μ) := inf x∈Rn^ L(x, λ, μ) ∈ R ∪ {−∞}, (D) sup λ∈Rm + , μ∈Rp
d(λ, μ).
Crucial Property: Because d(λ, μ) is the pointwise infimum of affine functions (λ, μ) ↦→ L(x, λ, μ), the dual function d(λ, μ) is always concave on Rm + × Rp, even when the primal problem is completely non-convex!
L(¯x, λ, μ) ≤ L(¯x, ¯λ, μ¯) ≤ L(x, ¯λ, μ¯) ∀x ∈ Rn, ∀λ ∈ Rm + , ∀μ ∈ Rp,
if and only if x¯ is a global solution of (NLP), (¯λ, μ¯) is a global solution of (D), and f (¯x) = d(λ,¯ μ¯) (zero duality gap). For a C^1 convex optimization problem, (¯x, λ,¯ ¯μ) is a saddle point if and only if it is a KKT triple!
L(x, λ, μ) s.t. ∇xL(x, λ, μ) = 0, λ ≥ 0.
EXAM-TWIN PROBLEM: Explicit Derivation of Dual Function, Duality Gap, and Saddle Points
Part A (Zero Duality Gap Verification): Consider the convex optimization problem
min x∈R^2
f (x) := x^21 + x^22 s.t. g(x) := −x 1 ≤ 0 , h(x) := x 2 − 3 = 0.
Find the primal optimal solution x¯ and primal optimal value f ∗, derive the explicit dual objective function d(λ, μ) for all (λ, μ) ∈ R+ × R, solve the dual problem to find d∗, and verify that strong duality holds.
Part B (Non-Zero Duality Gap Proof): Consider the non-convex optimization problem
min x∈R
f (x) := −x^3 s.t. g(x) := 4|x| − 1 ≤ 0.
Compute the primal optimal value f ∗^ and the dual optimal value d∗, and prove that a strict duality gap (f ∗^ − d∗^ > 0 ) occurs.
Step-by-Step Solution:
Solution to Part A:
L(x, λ, μ) = x^21 + x^22 − λx 1 + μ(x 2 − 3) =
x^21 − λx 1
x^22 + μx 2 − 3 μ
Since x ↦→ L(x, λ, μ) is strictly convex and quadratic in x ∈ R^2 (∇^2 xxL = 2I 2 is positive definite), its global minimum on R^2 is uniquely determined by ∇xL(x, λ, μ) = 0:
∂L ∂x 1
= 2x 1 − λ = 0 =⇒ x∗ 1 (λ) = λ 2
∂x 2
= 2x 2 + μ = 0 =⇒ x∗ 2 (μ) = − μ 2
Substituting x∗ 1 (λ) and x∗ 2 (μ) back into L(x, λ, μ) gives the explicit dual function:
d(λ, μ) = inf x∈R^2 L(x, λ, μ) =
λ 2
− λ
λ 2
μ 2
μ 2
− 3 μ
λ^2 −
μ^2 − 3 μ.
d∗^ = d(0, −6) = 0 −
Since f ∗^ = 9 = d∗, the duality gap is f ∗^ − d∗^ = 0 and strong duality holds. Moreover, (¯x, ¯λ, μ¯) = ((0, 3)⊤, 0 , −6) is a saddle point of L.
Solution to Part B:
f ∗^ = −
d(λ) = inf x∈R
−x^3 + λ(4|x| − 1)
For any fixed λ ≥ 0 , as x → +∞, the cubic term −x^3 dominates the linear term 4 λx:
lim x→+∞
−x^3 + 4λx − λ
= lim x→+∞ x^3
(^) −1 +^4 λ x^2
λ x^3
Therefore, d(λ) = −∞ for all λ ≥ 0 , which yields d∗^ = supλ≥ 0 d(λ) = −∞. Since f ∗^ = −1/64 > −∞ = d∗, the duality gap is +∞̸ = 0, so strong duality fails.
GLOBAL EXAM TRAP: When CAN the Quadratic Penalty Function Be Exact?
Normally, the quadratic penalty function Pα(x) is not exact because ∇Pα(¯x) = ∇f (¯x) ̸= 0. HOWEVER , in a famous exam True/False question: consider minx∈R f (x) := − 5 x^2 s.t. h(x) := x = 0. Here, the unique feasible point and global minimizer is x¯ = 0, where ∇f (0) = 0! The quadratic penalty function is: Pα(x) = − 5 x^2 + α 2
x^2 =
α 2
x^2.
For all α > 10 , we have α 2 − 5 > 0 , so x¯ = 0 IS a strict global minimizer of Pα(x)! Thus, if ∇f (¯x) = 0 , Pα(x) can be exact for sufficiently large α. Always check whether ∇f (¯x) = 0 on specific exam counterexamples!
THEOREM / FORMULA MODULE: Logarithmic Barrier Function and Primal-Dual Perturbed KKT System
Bτ (x) := f (x) − τ
∑︂^ m
i=
ln(−gi(x)), x ∈ X◦.
Setting ∇Bτ (x(τ )) = 0 yields ∇f (x(τ )) +
mi=1 (^) gi(−xτ(τ )) ∇gi(x(τ )) = 0. Defining λi(τ ) := − (^) gi(xτ(τ )) > 0 gives the perturbed complementarity condition −λi(τ )gi(x(τ )) = τ.
F (x, λ, μ, y) :=
∇xL(x, λ, μ) g(x) + y h(x) ΛY e
τ e
⎠ ,^ (λ, y)^ >^0
where Λ = diag(λ 1 ,... , λm), Y = diag(y 1 ,... , ym), and e = (1,... , 1)⊤^ ∈ Rm^ (so λiyi = τ for all i = 1,... , m).
EXAM-TWIN PROBLEM: Quadratic Penalty Multiplier Limit and Exactness of the ℓ 1 Penalty Function
Consider the one-dimensional nonlinear optimization problem:
(P 2 ) min x∈R f (x) := x^4 s.t. g 1 (x) := 8 − x^3 ≤ 0 , g 2 (x) := x^3 − 27 ≤ 0.
a) Determine the feasible set X and the unique global minimizer x¯ of (P 2 ).
b) Suppose the quadratic penalty method with 0 < αk < αk+1 → ∞ generates iterates (xk) converging to x¯. Does the sequence of multiplier estimates λk^ = (αk(g 1 (xk))+, αk(g 2 (xk))+)⊤^ ∈ R^2 converge? If so, compute its exact limit λ¯ with full theoretical justification.
c) Write down the ℓ 1 penalty function P (^) α^1 (x) for (P 2 ) and simplify its expression on the interval (−∞, 2) and on [2, 3].
d) Determine the exact range of α > 0 for which P (^) α^1 (x) is exact at x¯. Prove your answer directly by analyzing P (^) α^1 (x) near x¯.
Step-by-Step Solution:
Part a) The constraints are 8 − x^3 ≤ 0 ⇐⇒ x^3 ≥ 8 ⇐⇒ x ≥ 2 and x^3 − 27 ≤ 0 ⇐⇒ x^3 ≤ 27 ⇐⇒ x ≤ 3. Thus, the feasible set is X = [2, 3]. Since f (x) = x^4 is strictly increasing on [2, 3], the unique global (and local) minimizer is x¯ = 2.
Part b) At x¯ = 2, we have g 1 (2) = 8 − 23 = 0 (active) and g 2 (2) = 2^3 − 27 = − 19 < 0 (inactive), so A(¯x) = { 1 }. We compute the derivative of the active constraint g 1 (x) = 8 − x^3 :
∇g 1 (¯x) = g′ 1 (2) = −3(2)^2 = − 12 ̸= 0.
Since the 1 × 1 matrix ∇gA(¯x)(¯x) = (−12) has full column rank 1 , ¯x = 2 is a regular point (LICQ holds at ¯x ). By Theorem 4.3 (Part 2), because xk^ → x¯ and ¯x is a regular point, the sequence (xk, λk) converges to the unique KKT pair (¯x, ¯λ) of (P 2 ). We now compute ¯λ = (¯λ 1 , λ¯ 2 )⊤^ from the KKT conditions at ¯x = 2:
32 + ¯λ 1 (−12) + 0 = 0 =⇒ 12 λ¯ 1 = 32 =⇒ ¯λ 1 =
Thus, λk^ converges to ¯λ =
⊤ .
Part c) The ℓ 1 penalty function for (P 2 ) is:
P (^) α^1 (x) = x^4 + α(8 − x^3 )+ + α(x^3 − 27)+.
P (^) α^1 (x) = x^4 + α(8 − x^3 ) for x < 2.
P (^) α^1 (x) = x^4 for x ∈ [2, 3].
Part d) By Definition 4.6, P (^) α^1 is exact at ¯x = 2 if and only if x¯ = 2 is a local minimizer of P (^) α^1 (x) on R. Consider the neighborhood (1, 3) of ¯x = 2:
f^ ˜ ′(x) = 4x^3 − 3 αx^2 = x^2 (4x − 3 α).
In order for x¯ = 2 to be a local minimizer of f˜ (x) from the left (x ≤ 2 ), we need f˜ ′(2) ≤ 0 :
f^ ˜ ′(2) = 4(8) − 3 α(4) = 32 − 12 α ≤ 0 ⇐⇒ 12 α ≥ 32 ⇐⇒ α ≥ 8 3
Indeed, if α ≥ 83 , then for all x ∈ (0, 2) we have 4 x − 3 α < 8 − 3(8/3) = 0, so f˜ ′(x) < 0 on (0, 2), meaning P (^) α^1 (x) is strictly decreasing on (0, 2] and strictly increasing on [2, 3). Conversely, if α < 83 , then f˜ ′(2) > 0 , so P (^) α^1 (2 − ε) < P (^) α^1 (2) for small ε > 0.
Therefore, P (^) α^1 (x) is exact at x¯ = 2 if and only if α ≥ 83 (which matches ¯λ 1 = 83 !).
THEOREM / FORMULA MODULE: Directional Derivative of P (^) α^1 , Descent Direction Theorem, and Relaxation
D+P (^) α^1 (xk, sk) ≤ −(sk)⊤Hksk^ whenever α ≥ max
(λkqp) 1 ,... , (λkqp)m, |(μkqp) 1 |,... , |(μkqp)p|
In particular, if Hk is positive definite and sk^ ̸= 0, then D+P (^) α^1 (xk, sk) < 0 , so sk^ is a strict descent direc- tion for P (^) α^1 at xk! We then perform Armijo backtracking line search: find largest σk ∈ { 1 , 1/2, 1/4,... } such that P (^) α^1 (xk^ + σksk) − P (^) α^1 (xk) ≤ γσkD+P (^) α^1 (xk, sk) with γ ∈ (0, 1/2).
min s,v,w+,w−^
∇f (xk)⊤s +
s⊤Hks + ρ
∑︂^ m
i=
vi + ρ
∑︂^ p
j=
(w+ j + w j− ) s.t.
g(xk) + ∇g(xk)⊤s − v ≤ 0 , h(xk) + ∇h(xk)⊤s − w+^ + w−^ = 0, v ≥ 0 , w+^ ≥ 0 , w−^ ≥ 0.
GLOBAL EXAM TRAP: Is the SQP Subproblem of a Strictly Convex NLP Always Convex?
NO! THIS IS A CLASSIC EXAM TRAP! Suppose minx∈Rn^ f (x) s.t. h(x) = 0 (or g(x) ≤ 0 ) has strictly convex C^2 functions f and h. Is the SQP subproblem with Hk = ∇^2 xxL(xk, μk) always a convex QP? False! For an equality constraint h(x) = 0, the multiplier μk^ ∈ R can be negative (e.g., μk^ = − 100 ). Even for an inequality constraint g(x) ≤ 0 where g is non-convex or if λk^ < 0 at initialization, or with equality constraints where h is strictly convex (∇^2 h(xk) ≻ 0 ), choosing μk^ ≪ 0 makes Hk = ∇^2 f (xk) + μk∇^2 h(xk) negative definite! Thus, the SQP subproblem objective qk(s) is non-convex! (For example, take f (x) = x^2 , h(x) = x^2 , x^0 = 1, μ^0 = − 2 : then H 0 = 2 + (−2)(2) = − 2 < 0 ).
EXAM-TWIN PROBLEM: Setting Up the SQP Subproblem, Checking Convexity, and Existence of So- lutions
Consider the nonlinear optimization problem in R^2 :
(P 2 ) min x∈R^2
f (x) :=
x^41 − 2 x 2 s.t.
g 1 (x) := x^21 + 2x 2 ≤ 0 , g 2 (x) := 9 − x^21 ≤ 0.
Let the initial iterate be x^0 = (2, 1)⊤^ with multiplier estimate λ^0 = (2, 1)⊤.
a) Formulate the local SQP subproblem (QP 0 ) at (x^0 , λ^0 ) using the exact Hessian H 0 = ∇^2 xxL(x^0 , λ^0 ). Simplify all expressions completely.
b) Without solving (QP 0 ), prove that every KKT point of (QP 0 ) is a global solution of (QP 0 ).
c) Now suppose instead that we choose H 0 = I 2 (the 2 × 2 identity matrix). Prove rigorously using the Weierstrass Theorem and coercivity that (QP 0 ) has a unique global solution.
Step-by-Step Solution:
Part a) First, evaluate g 1 (x^0 ) and g 2 (x^0 ) at x^0 = (2, 1)⊤:
g 1 (x^0 ) = 2^2 + 2(1) = 6, g 2 (x^0 ) = 9 − 22 = 5.
Next, compute all first derivatives at x^0 = (2, 1)⊤:
∇f (x) =
x^31 − 2
=⇒ ∇f (x^0 ) =
∇g 1 (x) =
2 x 1 2
=⇒ ∇g 1 (x^0 ) =
, ∇g 2 (x) =
− 2 x 1 0
=⇒ ∇g 2 (x^0 ) =
Now compute the second derivatives to form H 0 = ∇^2 xxL(x^0 , λ^0 ) = ∇^2 f (x^0 ) + λ^01 ∇^2 g 1 (x^0 ) + λ^02 ∇^2 g 2 (x^0 ) with λ^0 = (2, 1)⊤:
∇^2 f (x) =
3 x^21 0 0
=⇒ ∇^2 f (x^0 ) =
∇^2 g 1 (x) =
(^2) g 2 (x) =
Therefore:
H 0 =
The quadratic objective of (QP 0 ) for s = (s 1 , s 2 )⊤^ ∈ R^2 is:
q 0 (s) = ∇f (x^0 )⊤s +
s⊤H 0 s = 8s 1 − 2 s 2 +
(14s^21 ) = 8s 1 − 2 s 2 + 7s^21.
The linearized constraints gi(x^0 ) + ∇gi(x^0 )⊤s ≤ 0 are:
6 + 4s 1 + 2s 2 ≤ 0 , 5 − 4 s 1 ≤ 0.
Thus, the simplified SQP subproblem (QP 0 ) is:
min s∈R^2
8 s 1 − 2 s 2 + 7s^21 s.t. 6 + 4s 1 + 2s 2 ≤ 0 , 5 − 4 s 1 ≤ 0.
Part b) The Hessian of the subproblem objective q 0 (s) is ∇^2 q 0 (s) = H 0 =
. Since its eigenval-
ues are 14 ≥ 0 and 0 ≥ 0 , H 0 is positive semidefinite, so q 0 (s) is a convex function. Furthermore, the constraints 6 + 4s 1 + 2s 2 ≤ 0 and 5 − 4 s 1 ≤ 0 are affine linear (hence convex). Consequently, (QP 0 ) is a dif- ferentiable convex optimization problem. By Theorem 2.27, every KKT point of a convex optimization problem is a global solution.
Part c) With H 0 = I 2 , the objective function is ˜q 0 (s) = 8s 1 − 2 s 2 + 12 (s^21 + s^22 ) = ∇f (x^0 )⊤s + 12 ∥s∥^22.
q ˜ 0 (s) = ∇f (x^0 )⊤s +
∥s∥^22 ≥ −∥∇f (x^0 )∥ 2 ∥s∥ 2 +
∥s∥^22 = ∥s∥ 2
∥s∥ 2 −
→ +∞ as ∥s∥ 2 → ∞.
Since q˜ 0 is continuous and coercive on the closed, non-empty set S 0 ⊂ R^2 , by the Theorem of Weier- strass, q˜ 0 attains a global minimum on S 0.