Optimization_Problems
Optimization_Problems
(a) Graph and formula for f (z) The function f (z) is defined piecewise:
(
0, if |z| ≤ 1,
f (z) =
|z| − 1, if |z| > 1.
To graph f (z):
• For |z| ≤ 1, the function is constant, equal to 0.
• For |z| > 1, the function grows linearly as |z| − 1.
The given hint suggests expressing f (z) as f (z) = max{0, z − 1, −z − 1}, which simplifies to:
f (z) = max{(z − 1), 0, (−z − 1)}.
Graphing f (z) involves plotting:
• A flat line at 0 between −1 ≤ z ≤ 1,
• A line of slope 1 starting from z = 1 for z > 1,
• A line of slope -1 starting from z = −1 for z < −1.
(b) Express the problem as linear programming The original minimization problem is:
m
X
min f (aTi x − bi ),
x
i=1
where f (z) is defined above. To express this as a linear programming problem, we need to replace the
absolute value and the max with linear inequalities.
We introduce auxiliary variables ti ≥ 0 to handle the linear nature of f (z). The constraints to ensure
ti captures the behavior of f (aTi x − bi ) are:
ti ≥ aTi x − bi − 1,
ti ≥ −(aTi x − bi ) − 1,
ti ≥ 0.
Thus, the linear programming problem becomes:
m
X
min ti ,
x
i=1
1
Lagrangian Formulation
We introduce Lagrange multipliers λi ≥ 0 and µi ≥ 0 for the two inequalities, and νi ≥ 0 for the
non-negativity condition ti ≥ 0. The Lagrangian is:
m
X m
X m
X m
X
L(x, t, λ, µ, ν) = ti + λi (aTi x − bi − 1 − ti ) + µi (−(aTi x − bi ) − 1 − ti ) + νi (−ti ).
i=1 i=1 i=1 i=1
Dual Problem
To derive the dual problem, we minimize the Lagrangian with respect to the primal variables ti and x.
1 − λi − µi − νi = 0.
Thus, we obtain the constraint:
λi + µi + νi = 1.
To maximize the dual, the coefficients of x must sum to zero, leading to:
m
X
(λi − µi )aTi = 0.
i=1
2
subject to the constraints:
m
X
λi , µi ≥ 0, λi + µi ≤ 1, (λi − µi )ai = 0.
i=1