Graphical Method LP and Sensitivity Analysis
Graphical Method LP and Sensitivity Analysis
7.1 Introduction
objective function).
function
Table 7.1
Quantitative analysis for management
Table 7.2
HOURS REQUIRED TO
PRODUCE 1 UNIT
(T) (C) AVAILABLE HOURS
DEPARTMENT TABLES CHAIRS THIS WEEK
Carpentry 4 3 240
Similarly,
Painting and varnishing time used
≤ Painting and varnishing time available.
Quantitative analysis for management
decision variables.
When there are more than two variables, a more complex
approach is needed as it is not possible to plot the solution
on a two-dimensional graph.
The graphical method provides valuable insight into how
other approaches work.
100 –
– This Axis Represents the Constraint T ≥ 0
Number of Chairs
80 –
–
60 –
–
40 – This Axis Represents the
– Constraint C ≥ 0
20 –
–
|– | | | | | | | | | | |
Figure 7.1 0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-17
Graphical Representation of a Constraint
graph.
4T + 3C = 240
4(0) + 3C = 240
Quantitative analysis for management
3C = 240
C = 80
Similarly for no chairs:
4T + 3(0) = 240
4T = 240
T = 60
This line is shown on the following graph:
100 –
–
(T = 0, C = 80)
Number of Chairs
80 –
–
60 –
–
40 –
–
(T = 60, C = 0)
20 –
–
Figure 7.2 |– | | | | | | | | | | |
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-20
Graphical Representation
of a Constraint
Region that Satisfies the Carpentry Constraint
C
Any point on or below
Quantitative analysis for management
80 –
Any point above the
–
plot will violate the
60 –
restriction.
–
(30, 40) (70, 40)
40 –
–
20 –
– (30, 20)
|– | | | | | | | | | | |
Figure 7.3 0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-21
Graphical Representation of a Constraint
The point (30, 20) lies below the plot and satisfies
the constraint
4(30) + 3(20) = 180.
The point (70, 40) lies above the plot and does not
satisfy the constraint
4(70) + 3(40) = 400.
100 – (T = 0, C = 100)
–
Number of Chairs
80 –
–
60 –
–
40 –
–
(T = 50, C = 0)
20 –
–
Figure 7.4 |– | | | | | | | | | | |
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-23
Graphical Representation of a Constraint
100 –
–
Number of Chairs
80 – Painting/Varnishing Constraint
–
60 –
–
40 –
–
Carpentry Constraint
20 – Feasible
Region
–
|– | | | | | | | | | | |
Figure 7.5
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-25
Graphical Representation
of a Constraint
For the point (30, 20)
Carpentry 4T + 3C ≤ 240 hours available
Quantitative analysis for management
Once the feasible region has been graphed, we need to find the
optimal solution from the many possible solutions.
100 –
–
Number of Chairs
80 –
–
60 –
–
(0, 42) $2,100 = $70T + $50C
40 –
–
(30, 0)
20 –
–
|– | | | | | | | | | | |
Figure 7.6
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-30
Isoprofit Line Solution Method
100 –
–
$3,500 = $70T + $50C
Number of Chairs
80 –
– $2,800 = $70T + $50C
60 –
– $2,100 = $70T + $50C
40 –
– $4,200 = $70T + $50C
20 –
–
|– | | | | | | | | | | |
Figure 7.7
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-31
Isoprofit Line Solution Method
100 –
–
Number of Chairs
80 –
Maximum Profit Line
–
60 – Optimal Solution Point
– (T = 30, C = 40)
40 –
– $4,100 = $70T + $50C
20 –
–
Figure 7.8 |– | | | | | | | | | | |
0 20 40 60 80 100 T
Number of Tables
Business analytics research group
7-32
Corner Point Solution Method
100 –
2 –
Number of Chairs
80 –
–
60 –
–
3
40 –
–
20 –
–
1 |– | | | | | | | | | | |
Figure 7.9
0 20 40
4 60 80 100 T
Number of Tables
Business analytics research group
7-34
Corner Point Solution Method
4
Point : (T = 50, C = 0) Profit = $70(50) + $50(0) =
3
$3,500
Point : (T = 30, C = 40) Profit = $70(30) + $50(40) =
Because
$4,100 Point 3 returns the highest profit, this is
the optimal solution.
ISOPROFIT METHOD
1. Graph all constraints and find the feasible region.
2. Select a specific profit (or cost) line and graph it to find the slope.
Quantitative analysis for management
3. Move the objective function line in the direction of increasing profit (or
decreasing cost) while maintaining the slope. The last point it touches in the
feasible region is the optimal solution.
4. Find the values of the decision variables at this last point and compute the
profit (or cost).
CORNER POINT METHOD
1. Graph all constraints and find the feasible region.
2. Find the corner points of the feasible reason.
3. Compute the profit (or cost) at each of the feasible corner points.
4. Select the corner point with the best value of the objective function found in
Step 3. This is the optimal solution.
Table 7.4
LP problems.
Integer programming problems.
Noninteger programming problems.
Solver is limited to 200 variables and 100
constraints.
Subject to 4T + 3C ≤ 240
2T + 1C ≤ 100
Program 7.2A
Program 7.2B
Program 7.2C
Once the model has been entered, the following steps can
be used to solve the problem.
Quantitative analysis for management
1. In the Set Objective box, enter the cell address for the total profit.
2. In the By Changing Cells box, enter the cell addresses for the
variable values.
3. Click Max for a maximization problem and Min for a minimization
problem.
8.Click Solve.
Starting Solver
Quantitative analysis for management
Figure 7.2D
Solver
Parameters
Quantitative analysis for management
Dialog Box
Figure 7.2E
Figure 7.2F
Figure 7.2G
Figure 7.2H
Let
X1 = number of pounds of brand 1 feed purchased
X2 = number of pounds of brand 2 feed purchased
X2
–
Quantitative analysis for management
20 – Ingredient C Constraint
Pounds of Brand 2
15 – Feasible Region
a
10 –
Ingredient B Constraint
5– b Ingredient A Constraint
Figure 7.10
| | | | c | |
0–
5 10 15 20 25 X1
Pounds of Brand 1
Business analytics research group
7-56
Holiday Meal Turkey Ranch
B.
4X1 + 3X2 = 48
X1 = 3
–
Feasible Region
20 –
Pounds of Brand 2
15 – 54
¢ =2
Di X
re 1 +
cti 3X
on
of 2 Is
10 – De oc
31 os
.2¢ Copyright ©2012 rc
e as as t Lin
Pearson
=2 Education, Inc. publishing
X Prentice Hall ing e
1 + Co
5– 3X st
2
Program 7.4A
Program 7.4B
No feasible solution
Unboundedness
Redundancy
Alternate Optimal Solutions
No feasible solution
This exists when there is no solution to the problem that
Quantitative analysis for management
X2
Quantitative analysis for management
8–
–
6–
– Region Satisfying
4– Third Constraint
–
2–
–
0– | | | | | | | | | |
Figure 7.12 2 4 6 8 X1
Region Satisfying First Two Constraints
Unboundedness
Sometimes a linear program will not have a finite solution.
Quantitative analysis for management
X2
Quantitative analysis for management
X1 ≥ 5
15 –
X2 ≤ 10
10 –
Feasible Region
5–
X1 + 2X2 ≥ 15
| | | | |
Figure 7.13 0– 5 10 15 X1
Redundancy
A redundant constraint is one that does not affect the feasible
Quantitative analysis for management
solution region.
One or more constraints may be binding.
This is a very common occurrence in the real world.
It causes no particular problems, but eliminating redundant
constraints simplifies the model.
30 –
Quantitative analysis for management
25 –
2X1 + X2 ≤ 30
20 –
Redundant
Constraint
15 –
X1 ≤ 25
10 – X1 + X2 ≤ 20
Feasible
Figure 7.14 5– Region
| | | | | |
0–
5 10 15 20 25 30 X1
Business analytics research group
7-68
Four Special Cases in LP
8–
Quantitative analysis for management
7–
A
6– Optimal Solution Consists of All
Combinations of X1 and X2 Along
5– the AB Segment
4–
2–
B Isoprofit Line for $12
1 – Feasible Overlays Line Segment AB
Figure 7.15
Region
0– | | | | | | | |
1 2 3 4 5 6 7 8 X1
+ $120X2
Subject to 2X1
+ 4X2
≤ 80
60 –
remains exactly the same, the slope of the isoprofit or isocost line will
change.
X2
Quantitative analysis for management
30 –
Old Profit Line for 50X1 + 120X2
(Passes through Point a)
20 – b
a Profit Line for 50X1 + 150X2
(Passes through Point a)
10 –
c
| | | | | |
0– 10 20 30 40 50 60 X1
Figure 7.17
Business analytics research group
7-76
Excel Solver and Changes in Objective Function
Coefficients
Excel 2010 Spreadsheet for High Note Sound Company
Quantitative analysis for management
Program 7.6A
Excel 2010 Solution and Solver Results Window for High Note Sound
Company
Quantitative analysis for management
Figure 7.6B
Program 7.6C
60 – 60 – 60 –
Stereo Receivers
X2 (a)
60 –
Quantitative analysis for management
| c | | |
0– 20 40 50 60 X1
Figure 7.19
X2 (b)
60 –
Quantitative analysis for management
X2 (c)
60 –
Quantitative analysis for management
40 –
Constraint
Representing
60 Hours of Audio
20 – Technician’s
Time Resource
| | | | | |
0– 20 40 60 80 100 120
X1
Figure 7.19
Program 7.5B
Program 7.6C
7-89
Business analytics research group