ConvexSpring25_Week4
ConvexSpring25_Week4
k
X
min ti
x,t
i=1
s.t. x 2 X , (B)
i (x) ti , i 2 {1, 2, . . . , k}.
1
Change of Variables
min fo (x)
x
s.t. fi (x) 0, i 2 {1, 2, . . . , k}
hi (x) = 0, i 2 {1, 2, . . . , p}.
2
Substituting Equality with Inequality Constraints
p⇤ = min f (x)
x2X
s.t. b(x) = u.
g ⇤ = min f (x)
x2X
s.t. b(x) u.
3
Elimination of Inactive Constraints
min fo (x)
x
s.t. fi (x) 0, i 2 {1, 2, . . . , m}, (1)
Ax = b.
Let x? be an optimal solution. We define the set of active and inactive constraints
as follows:
The following proposition says that when the problem is convex, we can remove
the inactive constraints without changing the optimal solution.
Proposition. Let x? be an optimal solution of (1). Then, x? is also an
optimal solution of
min fo (x)
x
s.t. fi (x) 0, i 2 A(x? ), (2)
Ax = b.
4
Linear Programming (LP)
H = {x 2 Rn |Ax b} = {x 2 Rn |a>
i x bi , i = 1, 2, . . . , m}.
Any polyhedron can also be represented as the Minkowski sum of the con-
vex hull of a finite number of extreme points {v1 , v2 , . . . , vk } and cone
generated by a finite number of extreme rays {r1 , r2 , . . . , rp }, i.e.,
k
X p
X k
X
x 2 H () x = i vi + µj rj , µj 0, i 0, i = 1.
i=1 j=1 i=1
5
Linear Programming in Standard Forms
minn c> xc
x2R
s.t. Ax = b,
x 0.
minn c> x
x2R
s.t. Ax b.
We can easily go from one form to the other. Any LP can be represented in each
of the above standard forms.
Example:
6
Network Flows
7
Chebyshev Center of a Polyhedron
8
Fundamental Theorem of Linear Programming
Theorem 1
A linear programming problem is either infeasible, or unbounded or has an
optimal solution.
9
Obtaining a lower bound on the cost function
minn c> x
x2R
s.t. Ax = b, (P)
x 0.
10
Finding best possible lower bound
max
m
b> y
y2R
11
Properties
Theorem 2
For the primal-dual pair of optimization problems stated above, the following
are true.
1. If (P) is infeasible, and (D) is feasible, then (D) is unbounded.
2. If (P) is unbounded, then (D) is infeasible.
3. Weak Duality: For any feasible solution x̄ and ȳ of the respective
problems, we always have c> x̄ b> ȳ.
4. Strong Duality: Suppose both (P) and (D) are feasible. Show
that for the respective optimal solutions x? and y ? , we must have
c> x? = b> y ? .
HW: Give an example of (P) and (D) where both are infeasible.
Lemma 1 (Farkas’ Lemma). Let A 2 Rm⇥n and b 2 Rm . Then, exactly one
of the following sets must be empty:
1. {x 2 Rn | Ax = b, x 0}
2. {y 2 Rm | A> y 0, b> y > 0}.
12
Proof
13
Proof
14
Lagrangian Function
min f (x)
x2Rn
s.t. gi (x) 0, i 2 [m] := {1, 2, . . . , m},
hj (x) = 0, j 2 [p].
where
15
Lagrangian Dual
where ⇥ X X ⇤
d( , µ) := inf f (x) + i gi (x) + µi hj (x) .
x
i2[m] j2[p]
16
Lagrangian Dual Optimization Problem
max d( , µ)
2Rm ,µ2Rp
s.t. 0,
( , µ) 2 dom(d).
17
Example 1: Lagrangian Dual of LP
minn c> x
x2R
s.t. Ax = b, x 0.
18
Example 2: Least Norm Solution
Find L and d.
19
Example 3
min x2
x2R
s.t. x 1 0, x 0.
Find the optimal value of the above problem, derive the dual and determine
whether strong duality holds.
20
Example 4
Find the optimal value of the above problem, derive the dual and determine
whether strong duality holds.
21