Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
XI - XE ≤ 1
XI ≤ 2
XI ≥ 0
XE ≥ 0
• LP in Final Form
• Max Z = 10x1 + 15x2
• Subject To
• 2x1 + 4x2 < 100 ( aluminum constraint)
• 3x1 + 2x2 < 80 ( steel constraint)
• x1 , x2 > 0 (non-negativity constraints)
Blouses 60 60 4 12.00
20 x1 + 60 x2 ≤ 25 40 60
70 x1 + 60 x2 ≤ 35 40 60
12 x1 + 4 x2 ≤ 5 40 60
x1, x2 ≥ 0, integers
29© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
The Nutrition Problem
Objective Function
Min. Z = 5x1 + 7x2
Constraint Functions
2x1 + 4x2 100
3x1 + 3x2 90
x 1, x 2 0
Objective Function
max Z =30X1 + 20X2
ٍٍ Subject To
X1 60
X2 75
10 X1+8X2 800
X1 0, X2 0
Objective Function
max Z =150X1 + 50X2
ٍٍ Subject To
X2 - 4X1 0
X1 0, X2 0
100 2T + 1C ≤ 100
Painting/Varnishing
80
60 4T + 3C ≤ 240
Carpentry
40
20 40 60 80 100
20
Number of Tables
41© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
Flair Furniture Company Feasible
Region
Number of Chairs
120
Painting/Varnishing
100
80
Carpentry
60
Feasible
40 Region
20 20 40 60 80 100
Number of Tables
42© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
0
Isoprofit Lines Steps
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).
100 Painting/Varnishing
7T + 5C = 210
80
7T + 5C = 420
60 Carpentry
40
20 40 60 80 100
20 Number of Tables
48© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
Flair Furniture Company
Optimal Solution
120
Isoprofit Lines
Number of Chairs
100 Painting/Varnishing
80 Solution
(T = 30, C = 40)
60 Carpentry
40
20 40 60 80 100
20
Number of Tables 49© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
Flair Furniture Company
Corner Point
Corner Point Solution Method
A second approach to solving LP problems
It involves looking at the profit at every corner point
of the feasible region
The mathematical theory behind LP is that the
optimal solution must lie at one of the corner points
in the feasible region
100 Painting/Varnishing
80 Solution
(T = 30, C = 40)
60 Carpentry
3
40 1
20 404 60 80 100
20
Number of Tables 53© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
Solving Minimization Problems
Many LP problems minimize an objective,
such as cost, instead of maximizing a
profit function. For example,
• A restaurant may wish to develop a work schedule to meet
staffing needs while minimizing the total number of
employees.
Or,
A manufacturer may seek to distribute its products from
several factories to its many regional warehouses in such a
way as to minimize total shipping costs.
Or,
A hospital may want to provide a daily meal plan for its
patients that meets certain nutritional standards
54© 2003 by Prentice while
Hall, Inc.
Upper Saddle River, NJ 07458
minimizing food purchase costs.
Solving Minimization Problems
Minimization problems can be solved
graphically by
first setting up the feasible solution region and then
using either
the corner point method or
an isocost line approach (which is analogous to the
isoprofit approach in maximization problems)
to find the values of the decision variables
(e.g., X1 and X2) that yield the minimum
cost.
Subject to:
5X1 + 10X2 90 oz. (A)
X,
1 X 0
2 (D)
where,
X 1 = # of pounds of brand 1 feed purchased
X 2 = # of pounds of brand 2 feed purchased
(A) = ingredient A constraint
(B) = ingredient B constraint
(C) = ingredient C constraint 56© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
(D) = non-negativity constraints
Holiday Meal Turkey Ranch
Using the Corner Point Method
To solve this problem:
1. Construct the feasible solution region.
This is done by plotting each of the three constraint equations.
2. Find the corner points.
This problem has 3 corner points, labeled a, b, and c.
Isoprofit Lines
Max. z = 2x + 3y and
2 x 5 y 25
3 x 2 y 21
constraints
x 0
y0
62© 2003 by Prentice Hall, Inc.
Upper Saddle River, NJ 07458
y 3x 2 y 21
feasible region
2 x 5 y 25
x
y=0
x=0
Maximum value
y z = 3 + 3(3) = 12 of z
z = 0 + 3(2) = 6 (3, 3) x 3y 6
(0, 2)
(6, 0) z = 6 + 3(0) = 6
x
x 3y 6
x y 6
y x y 1
vertex value of z at vertex (0, 5)
(0, 0) z = 3(0) – (0) = 0
(1, 0) z = 3(1) – (0) = 3 (3, 2)
(3, 2) z = 3(3) – (2) = 7
(0, 5) z = 3(0) – (5) = –5 x
(1, 0)
x y 5