You are on page 1of 7

Duality

The term ‘dual’, in general, implies two or double. The concept of


duality is very useful in mathematics, physics, statistics, engineering and
managerial decision-making. For example, in a two-person game theory,
In linear programming, duality implies that each linear
programming problem can be analyzed in two different ways but would
have equivalent solutions. Any LP problem (either maximization and
minimization) can be stated in another equivalent form based on the
same data. The new LP problem is called dual linear programming
problem or in short dual. In general, it is immaterial which of the two
problems is called primal or dual, since the dual of the dual is primal.

For example, consider the problem of production planning. The production


manager attempts to determine quantities for each product to be produced
with an objective to optimize the use of available resources so that profit is
maximum. But through a dual LP problem approach, he may develop a
production plan that optimizes resource utilization so that marginal
opportunity cost of each unit of a resource is equal to its marginal return
(also called shadow price). The shadow price indicates an additional
price to be paid to obtain one additional unit of the resources in order to
maximize profit under the resource constraints.
Vitamin Food Daily
f1 f2 requirement
V1 2 4 40
V2 3 2 50
Cost per unit 3 5/2
Primal Dual
Min Z = 3X1+5/2X2 Max Z = 40Y1+50Y2
Sub to: Sub to :
2X1+4X2 ≥ 40 2Y1+3Y2 ≤ 3
3X1+2X2 ≥ 50 4Y1+2Y2≤ 5/2
X1,X2 ≥ 0 Y1,Y2 ≥ 0

Min Z = 3X1+5/2X2+0S1+0S2+MA1+MA2
Sub to : 2X1+4X2-S1+A1= 40
3X1+2X2-S2+A2 = 50
X1,X2,S1,S2,A1,A2 ≥ 0

Cj 3 5/2 0 0 M M
CBj BV X1 X2 S1 S2 A1 A2 solution Min ratio
M A1 2 4 -1 0 1 0 40 40/4= 10
M A2 3 2 0 -1 0 1 50 50/2 = 25
Zj 5M 6M -M -M M M
Cj-Zj 3-5M 5/2-6M M M 0 0

Cj 3 5/2 0 0 M
CBj BV X1 X2 S1 S2 A2 solution Min ratio
5/2 X2 ½ 1 -1/4 0 0 10 10/(1/2)= 20

M A2 2 0 1/2 -1 1 30 30/2= 15
Zj 5/4+2M 5/2 -5/8+1/2M -M M
Cj-Zj 3-(5/4-2M) 0 5/8-1/2M M 0

R2:
3- 2(1/2) = 2
2- 2(1) = 0
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16)= 7/8

Y1= 3/16, Y2= 7/8

Max Z = 40Y1+50Y2
Max Z = 40(3/16)+50(7/8)

Max Z = 205/4 or 51.25

You might also like