Opt Lecture 7
Opt Lecture 7
Duality of LP problem
1/1
Situations lead to dual problems
Example 1.
Write the dual problem of the following problem:
4/1
Definition of dual problem of a standard problem
Example 2.
Write the dual problem of the following problem:
5/1
Writing dual problem for a general LP
1 If both problems (1) and (2) have feasible solutions then for all
feasible solutions x of (1) and y of (2) we have f (xx ) ≤ fe(yy ).
2 Let (xb, yb) be feasible solutions of primal and dual problem (1) and
(2). If f (xb) = fe(yb) then xb is the optimal solution of (1), yb is the
optimal solution of (2).
3 If either primal or dual problem is solvable, then the other is solvable
also, and the optimal value of two problems are equal.
4 Necessary and sufficient conditions for xb to be the optimal solution of
(1) and yb to be the optimal solution of dual problem (2) are :
m
X
a. If xbj > 0 then aij ybi = cj
i =1
m
X
b. If aij ybi > cj then xbj = 0
i =1
7/1
Relationship between primal and dual problems
Remarks
1 Necessary and sufficient condition for primal-dual problems to be
solvable is each problem having at least one feasible solution.
2 Necessary and sufficient condition for primal-dual problems to have
one problem having feasible solution and the other not is that the
objective function of the one having feasible solution must be
unbounded on the feasible region.
3 If a constraint of a problem is non-binding at its optimal solution then
the corresponding dual constraint must be binding at the optimal
solution of the dual problem.
8/1
Applications of properties of dual problem
Example 3
Given a problem: f (xx ) = 2x1 + c2 x2 + 2x3 − c4 x4 → max
2x1 −x2 +3x3 −x4 = 6
2x1 −3x2 −x3 ≤ 6
x1 , x2 , x3 , x4 ≥ 0
9/1
Applications of properties of dual problem
Example 4
Given a problem:
Example 5
Given a problem