

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Theorem 1.1 If the primal LP problem has an optimal solution x
∗
=
x
∗
1
,... , x
∗
n
then the dual also has an
optimal solution, y
∗
=
y
∗
1
,... , y
∗
m
, such that
j
c j
x
∗
j
i
b i
y
∗
i
Proof: We rewrite the LP in slack form and solve it (using the Simplex algorithm). Let the slack variables
be w 1
,... , w m
. Consider the objective function as written in the slack form containing the optimal solution
that was generated by the Simplex algorithm. It has the form
max
n ∑
j= 1
c j x j
s.t.
n ∑
j= 1
a i j
x j
≤ b i
for i = 1 ,... , m,
x j
for j = 1 ,... , n.
primal program
min
m ∑
i= 1
b i y i
s.t.
m ∑
i= 1
a i j y i ≥ c j
for j = 1 ,... , n,
y i
for i = 1 ,... , m.
dual program
α +
n ∑
k= 1
α k z k
where z k
is the kth non-basic variable when the algorithm terminated, and
α 1
,... , α n
are constant coefficient. For the jth non-basic variable x j
let
c
∗
j
denote its coefficient in Eq. (1). In particular, if x j is basic in the final
solution, then c
∗
j
= 0. Similarly, let d
∗
i
be the coefficient of w i
in Eq. (1)
(which would be 0 if w i is basic in the final solution). Thus, Eq. (1) can
be rewritten as
α +
j
c
∗
j
x j
i
d
∗
i
w i
Now, α is the optimal objective value, as we assign 0 to all the non-basic
variables to compute the objective function (and this is the optimal value).
Thus, we have
α =
j
c j
x
∗
j
since x
∗
=
x
∗
1
,... , x
∗
n
is the optimal solution to the given LP.
Next, consider the assignment
̂ y i
= −d
∗
i
, for i = 1 ,... , m. (3)
To prove the theorem, it is sufficient to verify that this is a feasible solution to the dual, and that its objective
function value is equal to the primal objective function value. Now, the weak duality theorem implies the
claim. Indeed,
j
c j x j = α +
j
c
∗
j
x j
i
d
∗
i
w i
where the expressing on the left is the original objective function, and the expression on the right is the
(equivalent) rewriting of it by the Simplex algorithm. As such,
j
c j
x j
= α +
j
c
∗
j
x j
i
d
∗
i
w i
= α +
j
c
∗
j
x j
i
−̂ y i
b i
j
a i j x j
= α +
i
−̂ y i
b i
j
c
∗
j
x j
i
y i
j
a i j
x j
= α −
i
b i
y i
n ∑
j= 1
c
∗
j
m ∑
i= 1
̂ y i a i j
x j
Since this is a linear expression, we can equate the coefficients of the variables x 1
,... , x n
. We have that
α −
i
b i
y i
Which implies that α =
i
b i
y i
. Namely, for the assignment y i = ̂y i , for i = 1 ,... , m, the primal and dual
has the same objective function value.
We still have to show that the dual solution
y 1 ,... , ŷ m
is feasible for the dual. Indeed, comparing the
coefficients of Eq. (4), we get that
c j = c
∗
j
m ∑
i= 1
̂ y i a i j
for j = 1 ,... , n. Now, all the c
∗
j
are non-positive since c
∗
j
are the coefficients of the objective function in the
optimal solution. If any of them is positive, then we could make furthest progress in the Simplex algorithm.
Namely, c
∗
j
≤ 0, for j = 1 ,... , m. This implies that
c j
m ∑
i= 1
̂ y i
a i j
for j = 1 ,... , n. Namely, the solution y 1 = ŷ 1 , y 2 = ŷ 2 ,... , y m = ŷ m is feasible for the dual. The weak
duality theorem also implies that it is optimal. Thus, y
∗
=
y
∗
1
,... , y
∗
m
y 1
,... , ŷ m
Notice, the proof of Theorem 1.1 specifies explicitly given the optimal primal solution what is the
optimal dual solution, see Eq. (3). As such, given the dual solution, we can also compute the primal solution
by using the fact that the dual to the dual is the primal. As such, it is sometimes make sense to solve the
dual LP instead of the primal one.
In particular, by changing the primal objective function we can guarantee that the dual problem is feasi-
ble for the trivial starting solution. As such, this provides a simple algorithm for doing the first stage in the
Simplex algorithm (finding a feasible starting solution). We omit any further details.
2 Bibliography
This topic of linear programming is quite deep and involved and we only touched some core topics. The
lecture notes are based on the excellent book by Vanderbei [Van97].