Professional Documents
Culture Documents
Convexity in LO
Jiming Peng
Department of Industrial Engineering
University of Houston
min f (x)
s.t. gi (x) ≤ bi , i = 1, · · · , m;
x ≥ 0.
Let define
X = {x : gi (x) ≤ bi , i = 1, · · · , m; x ≥ 0}.
min f (x).
x∈X
f (x ∗ ) ≤ f (x), ∀x ∈ X .
For LP, all the functions are linear (or affine). For a linear function
f (x), it holds
f (αx + βy ) = αf (x) + βf (y ), ∀α + β = 1, α, β ≥ 0.
f (αx + βy ) ≤ αf (x) + βf (y ), ∀α + β = 1, α, β ≥ 0.
y = αx 1 + βx 2 , α + β = 1, α, β ≥ 0.
We can write
y = αx 1 + (1 − α)x 2 = x 2 + α(x 1 − x 2 ).
Theorem
An affine set is convex.
Example: the straight line aT x = b is affine.
The convex hull of a set S is defined by
Theorem
Let S = {x : gi (x) ≤ 0, i = 1, · · · , m}. If all the functions gi (x)
are convex, then S is convex.
Proof:
Let Si = {x : gi (x) ≤ 0},
because gi (x) is a convex function, for any x 1 , x 2 ∈ Si , we have
{x : aT x = b},
N(x, r ) = {y : ky − xk ≤ r }.
min f (x)
x∈X
f (x ∗ ) ≤ f (x), ∀x ∈ N(X ∗ , r ) ∩ X .
Theorem
If f (x) is convex and the constrained set X is also convex, then a
local minimal solution to the problem is also a global minimal
solution.
Jiming Peng Department of Industrial Engineering University of Houston
INDE6372: Lecture 9 Convexity in LO
Proof of the Theorem
Suppose to the contrary that x ∗ is not the global minimal solution, then there exists another y ∗ ∈ X satisfying
f (y ∗ ) < f (x ∗ ). Now let us consider the convex combination x ∗ + α(y ∗ − x ∗ ) for α ∈ [0, 1]. Since X is
convex, we have
∗ ∗ ∗ ∗ ∗
x , y ∈ X =⇒ x + α(y − x ) ∈ X , ∀α ∈ [0, 1].
∗ ∗ ∗ ∗ ∗ ∗
f (x + α(y − x )) ≤ (1 − α)f (x ) + αf (y ) ≤ f (x ),
and the inequality holds strictly if 0 < α ≤ 1. Recall that for small α, we have
∗ ∗ ∗ ∗
kα(y − x )k = αky − x k.
∗ ∗
αky − x k ≤ r.
This shows that the point x ∗ + α(y ∗ − x ∗ ) is in the neighborhood of x ∗ , but with a smaller objective value. This
violates our basic assumption that x ∗ is a local minimum. In this way, we have derived a contradiction. Thus we
can conclude that x ∗ must be a global minimal solution.
Lemma
The system Ax ≤ b has no solutions if and only if there is a y such
that
AT y = 0, y ≥ 0, b T y < 0.
max 0
Ax ≤ b
min bT y
AT y = 0
y ≥ 0.
Clearly the dual is feasible. Thus if the primal is feasible, then the
dual is bounded. This implies that if the primal is infeasible, then
the dual is unbounded. It remains to show that the dual is
unbounded if and only if the relations in the lemma hold (recall the
definition of unbounded LP). This finishes the proof of Farkas
Lemma.
max eT x (1)
Ax ≤ b, 0 ≤ x ≤ e.
{x ∈ <n : Ax ≤ b, A ∈ <m×n }
Theorem
Let P and P̄ are two disjoint nonempty polyhedra in <n . Then
there exist disjoint halfspaces H and H̄ such that P ⊂ H, P̄ ⊂ H̄.
Let
P̃ = {x : Ax ≤ b, Āx ≤ b̄}
AT y + ĀT ȳ = 0, , b T y + b̄ T ȳ < 0, (y , ȳ ) ≥ 0.
Define
H = {x : y T Ax ≤ b T y } H̄ = {x : y T Ax ≥ −b̄ T ȳ }
b T y ≥ y T Ax ≥ −b̄ T ȳ =⇒ b T y + b̄ T ȳ ≥ 0,
P = {x ∈ R 2 : 0 ≤ x1 , x2 ≤ 1}, P̄ = {x ∈ R 2 : 2 ≤ x1 , x2 ≤ 3} (2)
or P = {x ∈ R 2 : Ax ≤ b}, P̄ = {x ∈ R 2 : Āx ≤ b̄} (3)
I
A= , b = (1, 1, 0, 0)T , Ā = A, b̄ = (3, 3, −2, −2)T . (4)
−I
y T Ax = x2 , b T y = 1, b̄ T ȳ = −2,
Note: The separation theorem does not hold for nonconvex sets.
Pn
max i=1 αi (11)
aiT x < b − αi , if aj is in group ‘good’; (12)
aiT x ≥ b + αi , if aj is in group ‘bad’; (13)
α1 , · · · , αn ≥ 0. (14)
min cT x
Ax = b, x ≥ 0,
max bT y
AT y + s = c, s ≥ 0.
Theorem
If both the primal and its dual are feasible, then there exists an
optimal solution x ∗ to the primal problem, and optimal solution
(y ∗ , s ∗ ) to the dual problem such that x ∗ + s ∗ > 0.
min x1 + 2x2
x1 + x2 ≤ 2;
2x1 − x2 ≥ 1;
x1 , x2 ≥ 0.