presentation on Duality theory in operations research
EktaJain650536
80 views
21 slides
Aug 24, 2024
Slide 1 of 21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
About This Presentation
duality theory, optimization presentation
Size: 267.69 KB
Language: en
Added: Aug 24, 2024
Slides: 21 pages
Slide Content
Duality in Linear Programming
Teaching Demonstration
Duality in Linear Programming
Ekta Jain 1 / 16
Duality in Linear Programming
Motivation
Profit Product Hours needed Hours needed
(per unit) on Machine A on Machine B
(per unit) (per unit)
Rs 50 1 10 5
Rs 60 2 15 5
Hours available (per week) 120 50
Letx1andx2be the number of units of Product 1 and Product 2 manu-
factured respectively.
(P1) maxZ= 50x1+ 60x2(Maximizing the profit)
subject to10x1+ 15x2≤120
5x1+ 5x2≤50 Manufacturer
′
s point of view
x1,x2≥0
Optimal solution isx
∗
1
= 6,x
∗
2
= 4 withZopt= 540.
Ekta Jain 2 / 16
Duality in Linear Programming
Consider an associated problem arising from the same data.
(P2) minV= 120y1+ 50y2(Minimizing the rental cost)
subject to10y1+ 5y2≥50
15y1+ 5y2≥60 Lessee
′
s point of view
y1,y2≥0
Herey1andy2are the costs incurred in rupees for using Machines A and
B, respectively, for an hour.
Optimal solution of (P2) isy
∗
1
= 2,y
∗
2
= 6 withVopt= 540.
Observation:Optimal values ofP1 andP2 are equal.
Is it just a coincidence or something deeper is hidden in it??
Ekta Jain 3 / 16
Duality in Linear Programming
Consider an associated problem arising from the same data.
(P2) minV= 120y1+ 50y2(Minimizing the rental cost)
subject to10y1+ 5y2≥50
15y1+ 5y2≥60 Lessee
′
s point of view
y1,y2≥0
Herey1andy2are the costs incurred in rupees for using Machines A and
B, respectively, for an hour.
Optimal solution of (P2) isy
∗
1
= 2,y
∗
2
= 6 withVopt= 540.
Observation:Optimal values ofP1 andP2 are equal.
Is it just a coincidence or something deeper is hidden in it??
Ekta Jain 3 / 16
Duality in Linear Programming
Construction of Dual
For the given LPP (primal) in following form
maxc
t
x
subject toAx≤b
x≥0
(1)
Herex∈R
n
,b∈R
m
andAis anm×nreal matrix.
tstands for the transpose.
An associated LPP (dual) is constructed as follows
minb
t
w
subject toA
t
w≥c
w≥0
(2)
wherew∈R
m
.
Ekta Jain 4 / 16
Duality in Linear Programming
Problems (1) and (2) are called.
No.of dual constraints = No. of primal variables.
No.of dual variables = No. of primal constraints.
Note that Dual of dual is primal.
Problem (2) is equivalent to solving the following problem
max (−b)
t
w
s.t.(−A)
t
w≤(−c)
w≥0
(3)
Dual of Problem (3) is Problem (1).
It is termed as.
Ekta Jain 5 / 16
Duality in Linear Programming
Right (Conventional) Type of Problems
For a maximization problem, all the inequalities should be of the ”≤”
type.
For a minimization problem, all the inequalities should be of the ”≥”
type.
All sign restrictions on the variables should be non-negativity
restrictions.
Mnemonic:
maxx maxx
subject tox≥b subject tox≤b
Unbounded Has an optimal solution, viz.,x=b
Ekta Jain 6 / 16
Duality in Linear Programming
Dual for non-right type of problems I
Consider an LPP in form (4)Dual of Problem (5) is then
maxc
t
x min (−b)
t
u
subject toAx≥b(4) subject to (−A)
t
u≥c(6)
x≥0 u≥0
⇔ maxc
t
x ⇔ minb
t
w
subject to (−A)x≤(−b) (5) subject toA
t
w≥c(7)
x≥0 w≤0(calling−u=w)
Ekta Jain 7 / 16
Duality in Linear Programming
Dual for non-right type of problems II
Consider an LPP in form (8)Dual of Problem (9) is then
maxc
t
x minb
t
u+ (−b)
t
v
subject toAx=b(8)subject toA
t
u−A
t
v≥c(10)
x≥0 u≥0,v≥0
⇔ maxc
t
x ⇔ minb
t
w
subject toAx≤b↔u subject toA
t
w≥c(11)
(−A)x≤(−b)↔v(9) wunrestricted in sign
x≥0 wherew=u−v
Ekta Jain 8 / 16
Duality in Linear Programming
Rule Table for Construction of Dual
Primal (max) Dual (min)
i-th constraint is≤type wi≥0
i-th constraint is≥type wi≤0
i-th constraint is = typewunrestricted in sign
xj≤0 j-th constraint is≤type
xj≥0 j-th constraint is≥type
xjunrestricted in signj-th constraint isleqtype
Ekta Jain 9 / 16
Duality in Linear Programming
Duality Theorems
Referring Problem (1) as primal problem and Problem (2) as dual problem.
Theorem 1
For a primal-dual pair of LPPs, let ‘x’ be a primal feasible solution (pfs)
and ‘w’ a dual feasible solution (dfs), then
c
t
x≤b
t
w
(Weak Duality Theorem)
Corollaries
1
The primal objective value of any pfs is a lower bound to the minimum
value of the dual objective in dual problem. Similarly other case.
2
Primal (dual) problem unbounded implies the dual (primal) problem is
infeasible.
Ekta Jain 11 / 16
Duality in Linear Programming
Theorem 2
Let¯x be a pfs and¯w be a dfs such that c
t
x=b
t
w. Then¯x is optimal to
the primal and¯w is optimal to the dual.
(Strong Duality Theorem/Sufficient Optimality Criterion in LPP)
Theorem 3
Let¯x be an optimal feasible solution of the primal. Then there exists a¯w
which is optimal to the dual. Also c
t
¯x=b
t
¯w.
(Fundamental theorem of Duality)
Corollaries
1.If the primal (dual) problem is infeasible then the dual (primal) problem
is either infeasible or unbounded, if feasible.
2.Let ˆxbe an optimal feasible solution of the primal and ˆwbe an optimal
feasible solution of the dual. Thenc
t
ˆx=b
t
ˆw. (Converse of Strong Duality)
Ekta Jain 12 / 16
Duality in Linear Programming
3.If both the primal and dual problems have feasible solutions, then the
values assumed by the two objective functions at feasible solutions of the
respective problems are separated on the real line.
Remark.
corresponding to slack (surplus) variables of primal (dual) give the
value of dual (primal) variables associated with the corresponding
constraint.
Letw= (cBB
−1
)
t
,
Zj−cj=cBB
−1
aj−cj=w
t
aj−cj,∀j (12)
Therefore, corresponding to an optimal feasible solutionxof primal,wis
a feasible solution of dual satisfyingc
t
x=b
t
w. Hence,wis an optimal
solution of dual. Writing (12) for the slack variables proves the above claim.
Ekta Jain 13 / 16
Duality in Linear Programming
3.If both the primal and dual problems have feasible solutions, then the
values assumed by the two objective functions at feasible solutions of the
respective problems are separated on the real line.
Remark.
corresponding to slack (surplus) variables of primal (dual) give the
value of dual (primal) variables associated with the corresponding
constraint.
Letw= (cBB
−1
)
t
,
Zj−cj=cBB
−1
aj−cj=w
t
aj−cj,∀j (12)
Therefore, corresponding to an optimal feasible solutionxof primal,wis
a feasible solution of dual satisfyingc
t
x=b
t
w. Hence,wis an optimal
solution of dual. Writing (12) for the slack variables proves the above claim.
Ekta Jain 13 / 16
Duality in Linear Programming
Theorem 4
For a primal-dual pair, letˆx be a feasible solution of the primal andˆw be
a feasible solution of the dual. Thenˆx andˆw are optimal feasible solutions
to the respective problems iff
ˆw
t
(Aˆx−b) = 0
andˆx
t
(c−A
t
ˆw) = 0
(Complementary Slackness theorem)
Ekta Jain 14 / 16
Duality in Linear Programming
Corollary.Consider a primal-dual pair of LPPs. Let ˆxbe an optimal feasible
solution of the primal problem. The the following statements are true for
every dual optimal feasible solution.
1
Ifxj>0 (xjis restricted to be non-negative), then the dual constraint
associated with primal variablexj, is satisfied as an equation by every
dual optimal feasible solution.
2
Ifi-th constraint of the primal problem (which is an inequality
constraint) is satisfied as a strict inequality, then the dual variable
associated to this constraint is equal to zero in every dual optimal
feasible solution.
Ekta Jain 15 / 16
Duality in Linear Programming
Application
Consider the problem (P1) for which only information known that in optimal
feasible solution,x1>0 andx2>0.
(P1) maxZ= 5x1+ 12x2+ 4x3(Dual) minZ= 10w1+ 8w2
s.t.x1+ 2x2+x3≤10 s.t.w1+ 2w2≥5
2x1−x2+ 3x3= 8 2w1−w2≥12
x1,x2,x3≥0 w1+ 3w2≥4
w1≥0,w2unrest.
Using duality theory, the exact optimal solution to both primal and dual
problem can be obtained without actually solving the either problem.
x1>0 implies that for any optimal solution of dual problem,w1+ 2w2= 5.
Similarly, 2w1−w2= 12.
Solving these,w1=
29
5
,w2=−
2
5
is optimal solution of dual problem.
Murty, K. G., (1983) Linear programming. John Wiley & Sons, New York.
Hadley, G. (1962). Linear programming. Addison-Wesley.
Ekta Jain 16 / 16