Linear Programming
Linear Programming
Thirteenth Edition
Chapter 7
Linear Programming Models:
Graphical and Computer
Methods
Copyright © 2018, 2015, 2012 Pearson Education, Inc. All Rights Reserved.
Learning Objectives (1 of 2)
After completing this chapter, students will be able to:
4T + 3C = 240
• Solve for the axis intercepts and draw the line
• When Flair produces no tables, the carpentry constraint
is: 4(0) + 3C = 240
3C = 240
C = 80
• Similarly for no chairs:
4T + 3(0) = 240
4T = 240
T = 60
– This line is shown on the following graph
FIGURE 7.2 Graph of Carpentry
Constraint Equation 4T + 3C = 240
FIGURE 7.3 Region that
Any point on or below the constraint plot will not violat
Satisfies the Carpentry
Any point above the plot will
Constraint violate the restriction
• The point (30, 20) lies below the line and satisfies
the constraint
4(30) + 3(20) = 180
• The point (70, 40) lies above the line and does not satisfy
the constraint
4(70) + 3(40) = 400
FIGURE 7.4 Region that Satisfies the Painting and
Varnishing Constraint
• To produce tables and chairs, both departments must
be used
• Find a solution that satisfies both constraints
simultaneously
• A new graph shows both constraint plots
• The feasible region is where all constraints are satisfied
– Any point inside this region is a feasible solution
– Any point outside the region is an infeasible solution
FIGURE 7.5 Feasible Solution Region for the Flair Furniture
Company Problem
Graphical Representation of Constraints ( 10
of 11)
Carpentr
y 4T + 3C ≤ 240 hours available (4)
constrain (30) + (3)(20) = 180 hours used
t 2T + 1C ≤ 100 hours available
Painting (2)(30) + (1)(20) = 80 hours used
constrain
t
of 11)
4T + 3C ≤
240 hours
available
(4)(70) +
(3)(40) =
400 hours
used
2T + 1C ≤
100 hours
available
(2)(70) +
(1)(40) =
180 hours
used
• For the point (50, 5)
Carpentr
y 4T + 3C ≤ 240 hours available (4)
constrain (50) + (3)(5) = 215 hours used
t 2T + 1C ≤ 100 hours available
Painting (2)(50) + (1)(5) = 105 hours used
constrain
t
Isoprofit Line Solution Method ( 1 of 7)
– New constraint
T + C ≥ 42
– If T = 20 and C = 25, then
20 + 25 = 45
Surplus = 45 − 42 = 3
Summaries of Graphical Solution Methods
TABLE 7.4 Summaries of Graphical Solution Methods
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.
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.
Solving Flair Furniture’s LP
Problem
• Most organizations have access to software to solve
big LP problems
• There are differences between software implementations,
the approach is basically the same
• With experience with computerized LP algorithms, it
is easy to adjust to minor changes
Using QM for Windows ( 1 of 4)
X1 7
X1 + 2X26
No Feasible Solution (2 of 2) 2X1 + X28
X17
FIGURE 7.12 A
problem with no
feasible solution
Unboundedness ( 1 of 2)
of 2)