Dual and Sensitivity Analysis
Dual and Sensitivity Analysis
LECTURE NINE
Duality and Sensitivity Analysis
Lecturer: Dr. Emily Roche
INTRODUCTION
This lecture will focus on solving minimization problems in linear programming
together with sensitivity analysis.
References
These lecture notes should be supplemented with relevant topics from the books listed
in the Bibliography at the end of the lecture
The following steps are then followed to solve the minimization problem:
Maximize 𝑥0 = 𝑏1 𝑥1 + 𝑏2 𝑥2 + 𝑏3 𝑥3 + ⋯ + 𝑏𝑚 𝑥𝑚
𝑎11 𝑥1 + 𝑎21 𝑥2 + 𝑎31 𝑥3 + ⋯ + 𝑎𝑚1 𝑥𝑚 ≤ 𝑐1
𝑎12 𝑥1 + 𝑎22 𝑥2 + 𝑎32 𝑥3 + ⋯ + 𝑎𝑚2 𝑥𝑚 ≤ 𝑐2
𝑎 𝑥 + 𝑎23 𝑥2 + 𝑎33 𝑥3 + ⋯ + 𝑎𝑚3 𝑥𝑚 ≤ 𝑐3
Subject to …13…1… … … ……………………………………
𝑎1𝑛 𝑥1 + 𝑎2𝑛 𝑥2 + 𝑎3𝑛 𝑥3 + ⋯ + 𝑎𝑚𝑛 𝑥𝑚 ≤ 𝑐𝑛
𝑥1 , 𝑥2 , 𝑥3 , … 𝑥𝑚 ≥ 0
2. Solve the dual maximization problem using the simplex method.
3. The maximum value of the dual objective function (𝑥0 ), will be the same as the
minimum value of the primal objective function (𝑦0 ).
4. The optimum value of the primal decision variables will be the entries in the indicator
row of the columns corresponding to the slack variables.
Example
Use dual theory to solve the LPP given below
2 1 0 −1
10 1 1 2
The transpose then becomes [ ]
8 1 2 2
0 6 8 4
The optimal primal solution from the dual final simplex tableau is:
Minimum 𝑤 = Maximum 𝑧 = 36
Example
A company can produce three products 𝑃, 𝑄, and 𝑅.
The products yield a contribution of 𝑆ℎ𝑠 8, 𝑆ℎ𝑠 5 and 𝑆ℎ𝑠 10 respectively.
The products use a machine which has 400 hours capacity in the next period. Each unit
of the products uses 2, 3 and 1 hour respectively of the machine’s capacity.
There are only 150 units available in the period of a special component which is used
singly in products 𝑃 and 𝑅.
200𝐾𝑔𝑠 only of a special alloy is available in the period. Product 𝑃 uses 2𝐾𝑔𝑠 per unit
and product 𝑅 uses 4𝐾𝑔𝑠 per unit.
There is an agreement to produce no more than 50 units of product 𝑄 in the period.
Formulate and solve the LOM that would enable the company determine the optimal
production plan.
Solution
Let 𝑥𝑖 𝑖 = 1, 2, 3 be the number of units of product 𝑃, 𝑄, 𝑅
Maximize 𝑧 = 8𝑥1 + 5𝑥2 + 10𝑥3
2𝑥1 + 3𝑥2 + 𝑥3 ≤ 400 (𝑀𝑎𝑐ℎ𝑖𝑛𝑒 ℎ𝑜𝑢𝑟𝑠 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥1 + 𝑥3 ≤ 150 (𝐶𝑜𝑚𝑝𝑜𝑛𝑒𝑛𝑡 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
Subject to 𝑥1 + 4𝑥3 ≤ 200 (𝐴𝑙𝑙𝑜𝑦 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥2 ≤ 50 (𝑆𝑎𝑙𝑒𝑠 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥1 , 𝑥2 , 𝑥3 ≥ 0
In standard form:
Maximize 𝑧 − 8𝑥1 − 5𝑥2 − 10𝑥3 = 0
2𝑥1 + 3𝑥2 + 𝑥3 + 𝑠1 = 400 (𝑀𝑎𝑐ℎ𝑖𝑛𝑒 ℎ𝑜𝑢𝑟𝑠 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥1 + 𝑥3 + 𝑠2 = 150 (𝐶𝑜𝑚𝑝𝑜𝑛𝑒𝑛𝑡 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
Subject to 𝑥1 + 4𝑥3 + 𝑠3 = 200 (𝐴𝑙𝑙𝑜𝑦 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥2 + 𝑠4 = 50 (𝑆𝑎𝑙𝑒𝑠 𝑐𝑜𝑛𝑠𝑡𝑟𝑎𝑖𝑛𝑡)
𝑥1 , 𝑥2 , 𝑥3 , 𝑠1 , 𝑠2 , 𝑠3 , 𝑠4 ≥ 0
The slack variables represent the spare capacity in the limitations.
Type II
To indicate the extent of increase of the RHS quantities without altering the existing
basic variables.
Type III
To investigate the effect of adding r deleting constraints and/or variables on the
optimum product mix.
Type IV
To determine the sequence of the basic solutions that become optimum as the changes
in the LP parameters are extended further and further.
Bibliography
Lucey, T. (2002). Quantitative Techniques (6th ed.). Cengage Learning.