Chapter 2 (Big M & Sensitivity)
Chapter 2 (Big M & Sensitivity)
Big M Method is used to solve LPM involving a mixture of ‘≥’ , ‘≤’ and , ‘=’
constraints as well as minimization LPM.
It is a modified version of the simplex method for maximization LPM, that first
finds a basic feasible solution by adding "artificial (A)" variables to the problem.
Artificial variables have no importance in a LMP. They are used only to facilitate
an initial basic feasible solution.
Not to keep artificial variables in the solution the objective function of the original
LPM is modified using a very large number represented by ‘M’ to ensure that the
artificial variables are all equal to 0.
Step 1 : Make sure that all given constraints in any LPM have positive values
on the right hand side. If constraints have negative values multiply both sides
by -1 and reverse the inequality sign
Step 2: Standard form :
To convert inequalities to equation introduce slack variables, surplus
variable and artificial variables depending on the inequality sign.
Add Slack variable(si) to ith ‘≤’ constraint
Add an artificial variable (Ai) to an ith ‘=’constraint
Subtract a surplus variable(si) and add an artificial variable (Ai )to
an ith ‘≥’ constraint.
Across the top of the initial tableau list the decision variables first
then the slack/surplus variables followed by artificial variables.
1) For a minimization problem select the most negative value in row C-Z
to determine the entering or incoming variable.
2) Since an artificial variable (Ai) value would not provide any information
about the LPM , it can be removed from the column altogether in
subsequent tableau once it leaves the basis.
Step 5: Determine whether the solution is optimal or not. The solution is said to
be optimal if
there is no positive value in row C-Z ( for maximization problem
there is no negative value in row C-Z for a minimization problem.
Example 1 :
Maximize Z = x1 – x2 + 3x3
Subject to x1 + x2 ≤ 20
x1 + x 3 = 5
x2 + x3 ≥ 10
x1, x2 ≥ 0
Minimize Cost = 5X + 7Y
Subject to: 2X + Y ≥ 8 ---Vitamin A requirement
X + 2Y ≥ 10--- Vitamin B requirement
X≥0,Y≥0
Special cases
4. Multiple optimal solutions arise when a non-basic variable has a zero value in
the bottom row C-Z. It is possible to find an alternative optimal solution by
exchanging the non-basic variable that has a corresponding zero value in C- Z
row by a basic variable already in the solution with no change in the optimal
value of the objective function.
Example
Sensitivity analysis uses the final simplex tableau containing the optimal
solution as the starting point.
1. Change in the RHS of a Constraint
x1 x2 S1 S2
X1 90 1 0 1/4 -1/2 40
X2 25 0 1 -1/2 2 40
z 90 25 10 5 4600
c-z 0 0 -10 -5
The shadow prices are 10 and 5.
If time in assembly department is increased by 0ne hour per day the profit
will increase by Birr10. Similarly a one hour increase in the finishing
department will increase profit By Birr 5
Limit
For a minimization problem , the allowable decrease is the
negative ratio closest to zero and the allowable increase is the
smallest positive ratio
Given amount of change ‘d’ in value of constraint within the range
of feasibility the corresponding change in optimal solution and
objective function can be obtained using the slack variable column
substitution rate as follows.
For an increase in the level of constraint beyond its upper limit , the
additional amount needed to achieve the upper limit (negative ratio
close to 0) is used to compute the revised solution. The slack variable
in the constraint will enter into solution replacing the variable whose
revised value will be equal to zero.
For a decrease in the level of constraint beyond its lower limit, a new
simplex solution must be generated. The shadow prices and
substitution rates do not hold when the lower limit is exceeded.
Example 1: A ready –to-wear manufacturer is about to mass –produce
its three latest designs shirts: A, B, and C. Each design A shirt requires 6,
8 and 12 minutes in cutting, sewing and finishing departments; each
design B shirt requires 2, 10 and 9 minutes; while each design C shirt
requires 4, 4 and 3 minutes, respectively in each department. The
maximum time available in cutting, sewing and finishing departments,
respectively are 2400, 3200 and 3600 minutes per week. The profit on
each design A, B and C are birr 15, birr 6 and birr 5 respectively. The
final simplex tableau of the model is given in the next slide.
Basis Q
x1 x2 x3 s1 s2 s3
x3 0 -1 1 2/
5 0 - 1/
5 240
s2 0 6 0 -4/5
1 -4/5 320
x1 1 1 0 -1/10 0 2/
15 240
i) What is the best product mix (optimal solution)? What is the optimal profit?
ii) Which department’s time is underutilized? By how many minutes?
iii) What are the shadow prices ? Which resource has the highest marginal
value?
iv) Over what range is each of the RHS values valid without any change on
shadow price.
v) Find the new solution assuming that the weekly time in finishing
department is increased by i) 1000 minutes ii) 1500 minutes
vi) If forced by circumstances to reduce the time available in cutting
department by i) 200 minutes ii) 500 minutes per week find the new
solution.
2. Change in an Objective Function Coefficients
Sensitivity analysis for an objective function coefficient
involves placing a range on the coefficient’s value. There are
two cases
ii. Find the range of optimality for x1 and x3? Find revised profit if
profit on each design C shirt is increased by i) Birr 2 ii) Birr 6
EXERCISE
C Q
x1 x2 x3 s1 s2 s3
Basis
Complete the final simplex tableau and answer the questions in the next
slide.
i. How many of each type of electronic product should be produced
to maximize profit?
vi. Find the range of feasibility for the direct labor time constraint.
Duality in Linear Programming
In cases where the primal and the dual problems differ in terms of
computational difficulty, we can choose the easier problem to solve, The
dual of a maximization LPM a minimization LPM and vis versa.
Formulation of a dual problem
1. Identify the variables of dual problem which are same as the number of
constraints in primal problem.