Dl 4duality RO
Dl 4duality RO
Research.
Chapter 2.Part III
Duality in
Linear
Programming
3rd year computer sciences engineering
[email protected]
What is duality
DUALITY IN LPP
Associated with every Linear Programming Problem there
always exist another Linear Programming Problem which is
based upon same data and having the same solution. This
property of Linear Programming Problem is termed as Duality
in Linear Programming Problem.
The original problem is called as Primal Problem and
associated problem is called as Dual problem.
Any of these Linear Programming Problem can be taken as
primal and other as dual therefore these problems are
simultaneously called as Primal-Dual Pair.
What is Duality in Linear
Programming?
• Duality is a fundamental concept in linear programming (LP) where
every optimization problem (called the 'primal') is associated with
another problem (called the 'dual').
• Key Points:
1. If one problem is a minimization, the other is a maximization.
2. The optimal solutions of both are connected, and solving one gives
insights into the other.
3. Duality provides sensitivity analysis, showing how changes in
constraints affect the objective.
WHY
Why Apply Duality in LP?
• A farmer has limited land and labor resources. They want to maximize profit by
deciding how much of two crops—wheat and corn—to plant.
3
w
2
+
THEOREM
Statement: Dual of Dual is Primal.
RELATION BETWEEN THE SOLUTION
OF PRIMAL AND DUAL PROBLEMS
Solution of Solution of
Primal Dual
Problem Problem
Optimum Optimum
Infeasible Unbounded
Unbounded Infeasible
Trailers problem: Data
The owner of a shop producing automobile trailers wishes to
determine the best mix for his three products: flat-bed trailers,
economy trailers, and luxury trailers. His shop is limited to working 24
days/month on metalworking and 60 days/month on woodworking for
these products. The following table indicates production data for the
trailers.
Metalworking days
Woodworking days
Contribution ($ × 100)
Trailers problem: Decision var
subject to:
1
2 x1 + 2x2 + x 3 ≤ 24,
x1 + 2x2 + 4x3 ≤ 60,
x 1 ≥ 0, x 2 ≥ 0, x3 ≥ 0.
Trailers problem: slack var
Letting x4 and x5 be slack variables corresponding to unused hours of metalworking and woodworking
capacity, the problem above is equivalent to the linear program: