8 Sensitivity Analysis and Post Optimality Part 1
8 Sensitivity Analysis and Post Optimality Part 1
Optimality
Introduction
• In most practical applications, the value of LP
parameters is not known exactly and is often estimated
based on past data.
• It is therefore important to study how changes in an LP
parameters (objective function coefficients, right hand
sides, and technological coefficients) affect the optimal
solution
• Algebraic approach enables to determine the revised
optimal solution from the original solution due to
change in an LP parameter, without resolving the
problem from scratch.
Following changes are considered
(1) Variations in objective function coefficients (cj)
(2) Variations in RHS constants (resource availability) (bi)
(3) Variations in constraint matrix (A)
- Adding new variables or activities
- Variation in the resource requirements (aij) of existing activities
- Adding new constraints
How feasibility and optimality is affected?
Simplex Tableau at any iteration in matrix form
Coefficients of
Original variables (xT) Slack variables (xsT) RHS
The coefficient of xj in Z-row is represented as zj-cj = cBB-1aj – cj, where cBB-1aj is the cost of consumed
resources for the unit production of product j.
Feasibility Condition:
The current basis xB remains feasible if the value of all basic variables is non-negative, i.e.
xB = B-1b ≥ 0
Thus, the current basis may not be feasible due to the following:
- Change in resource availability of a resource (bi)
- Change in B due to change in resource requirement aij corresponding to a basic variable
- Adding one or more new constraints
Optimality Condition:
The current basis xB remains optimal if the objective function coefficients are non-
negative, i.e.
cBB-1A – c ≥ 0 and cBB-1 ≥ 0
Thus, the current basis may not be optimal due to the following:
- Change in objective function coefficients (cj)
- Change in B due to change in resource requirement aij corresponding to a
basic or a non-basic variable
- Adding one or more new variables
Example: Product Mix Problem
• Products: A, B, and C
• Resources: Labor and Material
• Objective: To maximize Profit
• Decision: To find optimal product mix (x1, x2, and x3)
• LP formulation
Maximize Z = 2x1 + 3x2 + x3
Subject to 𝑥 𝑥 + 𝑥 1 Labor
𝑥 𝑥 + 𝑥 3 Material
𝑥 ,𝑥 ,𝑥 0
Basis x1 x2 x3 x4 x5 RHS
x1 1 0 -1 4 -1 1
x2 0 1 2 -1 1 2
zj - cj 0 0 3 5 1 8
• Optimal Solution:
x1 = 1, x2 = 2, x3 = 0, Z = 8
Variations in RHS constants (bi)
• The current basis may not be feasible due to change in bi.
• Finding the range of b1 for the current basis to remain feasible
(optimal)
𝟏 4 1 𝑏 4𝑏 3
𝒙𝐁 𝐁 𝐛
1 1 3 𝑏 3
4𝑏 3
For the current basis to remain feasible, 𝒙𝐁 𝟎⇒ 0
𝑏 3