You are on page 1of 14

Problem B.1, HR7E Solve the following LP graphically R.

Saltzman
Maximize 4X + 6Y = Z
subject to: (1) X + 2Y <= 8
(2) 5X + 4Y <= 20
(3) X >= 0
(4) Y >= 0
Note: There is a typograhpical error in the book regarding the last 2 nonnegativity constraints.
Y
Corner Points
X Y Z
11 0 0 0
10 0 4 24
9 4 0 16
8 1.333 3.333 25.33 <-- optimal solution
7 and optimal Z
6
5
4 (2)
3
2
1 FR (1)
0
1 2 3 4 5 6 7 8 9 10 11 X
Feasible
Problem B.2, HR7E Solve the following LP graphically R. Saltzman
Maximize X + 10Y = Z
subject to: (1) 4X + 3Y <= 36
(2) 2X + 4Y <= 40
(3) Y >= 3
(4) X >= 0
(5) Y >= 0
Y
13 Corner Points
12 X Y Z
11 0 3 30
10 0 10 100 <-- optimal solution
9 6.75 3 36.75
8 2.4 8.8 90.4
7
6
5 FR
4
3 (3)
2
1 (1) (2)
0
1 3 5 7 9 11 13 15 17 19 X
Feasible
Problem B.4, HR7E R. Saltzman
Maximize 30X1 + 10X2 = Z
subject to: (1) 3X1 + X2 <= 300
(2) X1 + X2 <= 200
(3) X1 <= 100
(4) X2 >= 50
(5) X1 - X2 <= 0
a) Solve the problem graphically:
X2
300 (3) X1 X2 Z
275 0 50 500
250 0 200 2000
225 (1) 50 50 2000
200 50 150 3000 <-- optimal solution
175 75 75 3000 <-- optimal solution
150
125 (5)
100 FR
75 (2)
50 (4)
25
0
5 0 10 0 15 0 20 0 X1
b) Is there more than 1 optimal solution?
Yes. Also, all the points between (50, 150) and (75, 75) have the same optimal value of 3000.


Feasible
Corner Points
Problem B.6, HR7E Ed Solver Dog Food Co. R. Saltzman
a) Formulation: Let C = # of chicken-flavored biscuits per package
Let L = # of liver-flavored biscuits per package
Mininize .02*C + .01L = Z
subject to: (1) C + L >= 40 (Nutrient A requirement)
(2) 4C + 2L >= 60 (Nutrient B requirement)
(3) L <= 15
(4) C >= 0
(5) L >= 0
b) Solve the problem graphically:
L
40
C L Z
35 40 0 0.80
25 15 0.65 <-- optimal solution & cost
30
25
20
15 (3)
10
(1) FR
5 (2)
0
5 10 15 20 25 30 35 40 C
Corner Points
Feasible
Problem B.8, HR7E Optimal Mix of Bathtubs R. Saltzman
a) Formulation: Let A = # of model A bathtubs
Let B = # of model B bathtubs
Maxinize 90A + 70B = Z Total Profit
subject to: (1) 125A + 100B <= 25000 Steel Availability
(2) 20A + 30B <= 6000 Zinc Availability
(3) A >= 0
(4) B >= 0
b) Solve the problem graphically:
Corner Points
B A B Z
0 0 0
250 200 0 18000 <-- optimal solution
(1) 0 200 14000
200 85.7 142.9 17714
150
100
50 FR (2)
0
50 100 150 200 250 300 A
Feasible
Problem B.9, HR7E Mattresses & Box Springs R. Saltzman
a) Formulation: Let M = # of mattresses to produce
Let B = # of box springs to produce
Mininize 20M + 24B = Z Total Cost
subject to: (1) M + B >= 30 Minimum production requirement
(2) 1M + 2B >= 40 Stitching machine requirement
(3) M >= 0
(4) B >= 0
b) Solve the problem graphically:
Corner Points
B M B Z
40 0 800
50 0 30 720
20 10 640 <-- optimal solution
40
30
(1) FR
20
10
(2)
0
10 20 30 40 50 M
Feasible
Problem B.10, HR7E Making Computers R. Saltzman
a) Formulation: Let A = # of Alpha 4 minicomputers to produce
Let B = # of Beta 5 minicomputers to produce
Maxinize 1200A + 1800B = Z Total Profit
subject to: (1) 20A + 25B = 800 Full employment
(2) A >= 10 Minimum Alpha 4 production
(3) B >= 15 Minimum Beta 5 production
b) Solve the problem graphically:
Corner Points
B A B Z
10 24 55200 <-- optimal solution
50 21.25 15 52500
40 (2) (FR is the line segment between these 2 corner points)
30
20 (1)
10 (3)
0
10 20 30 40 A
Feasible
Problem B.12, HR7E Krista's LP R. Saltzman
Mininize X1 + 2X2 = Z Total Cost
s.t. (1) X1 + 3X2 >= 90
(2) 8X1 + 2X2 >= 160
(3) 3X1 + 2X2 >= 120
(4) X2 <= 70
Solve graphically: Cost
X1 X2 Z
X2 A 90 0 90.00
B 25.71 21.43 68.57 <-- optimal
80 C 8 48 104.00
D 2.5 70 142.50
70 D
60
50
C FR
40
30
20 B
10
0 A
10 20 30 40 50 60 70 80 90
X1
minimum iso-cost line = 68.57
Feasible
Corner Points
Problem B.16, HR7E Busing Students R. Saltzman
Superintendent must assign students living in 5 geographic sectors to 3 schools.
1. Different numbers of students live in each sector
2. Each high school has a capacity of 900 students
3. Some students must be bused - distances are shown in the table
4. Students living in a sector where there is a school walk (0 bus miles)
Goal: Find assignment that minimizes the total # of student miles traveling by bus to school.
Let Xij = Number of students from sector I bused to school in sector j
Data Mileage Supply
From \ To School-in-Sector B School-in-Sector C School-in-Sector E (Students)
Sector A 5 8 6 700
Sector B 0 4 12 500
Sector C 4 0 7 100
Sector D 7 2 5 800
Sector E 12 7 0 400
(Fake) F 0 0 0 200
Demand 900 900 900 2700 \ 2700
Allocations Optimal Solution (found using Solver)
From \ To School-in-Sector B School-in-Sector C School-in-Sector E Row Total
Sector A 400 0 300 700
Sector B 500 0 0 500
Sector C 0 100 0 100
Sector D 0 800 0 800
Sector E 0 0 400 400
(Fake) F 0 0 200 200
Col. Total 900 900 900 2700 \ 2700
Total Cost 5400
Problem B.18, HR7E Restaurant Scheduling R. Saltzman
* Open 24 hours a day
* Servers work 8 hour shifts, reporting for duty at beginning of one of 6 time periods:
Period Time # of Servers Required
i = 1 3 am - 7 am 3
i = 2 7 am - 11 am 12
i = 3 11 am - 3 pm 16
i = 4 3 pm - 7 pm 9
i = 5 7 pm - 11 pm 11
i = 6 11 pm - 3 am 4
Goal: Find minimum # of servers required to cover the schedule.
Let Xi = # of servers who begin work at start of period i, i = 1, 2, 3, 4, 5, 6.
X1 X2 X3 X4 X5 X6
No. of Servers 3 14 2 7 4 0 30 <-- optimal solution
Cost of Server 1 1 1 1 1 1 (via Solver)
Period Time X1 X2 X3 X4 X5 X6 LHS RHS
1 3 am - 7 am 1 1 3 >= 3
2 7 am - 11 am 1 1 17 >= 12
3 11am - 3 pm 1 1 16 >= 16
4 3 pm - 7 pm 1 1 9 >= 9
5 7 pm - 11 pm 1 1 11 >= 11
6 11 pm - 3 am 1 1 4 >= 4
That is: Minimize X1 + X2 + X3 + X4 + X5 + X6 = Z
subject to: X1 + X6 >= 3
X1 + X2 >= 12
X2 + X3 >= 16
X3 + X4 >= 9
X4 + X5 >= 11
X5 + X6 >= 4
All Xj >= 0, for j = 1, 2, 3, 4, 5, 6
Problem B.19, HR7E Birdhouse Builder R. Saltzman
a) Formulation: Let W = # of Wren Birdhouses to build
Let B = # of Bluebird Birdhouses to build
Maxinize 6W + 15B = Z Total Profit
subject to: (1) 4W + 2B <= 60 Labor availability
(2) 4W + 12B <= 120 Lumber availability
(3) W >= 0
(4) B >= 0
b) Solve the problem graphically:
Corner Points
B W B Z
15 0 90
50 0 10 150
12 6 162 <-- optimal solution
40
30
20
(1)
10 (2)
0 FR
5 10 15 20 25 30 W
Feasible
Problem B.25, HR7E Advertising Agency R. Saltzman
a) Formulation: Let T = # of TV spots to run
Let S = # of Sunday newspaper ads to run
Maxinize 35T + 20S = Z Total Exposure (in 1000's)
subject to: (1) 3000T + 1250S <= 100000 Advertising Budget
(2) T >= 5 Minimum # of TV spots
(3) T <= 25 Maximum # of TV spots
(4) S >= 10 Minimum # of Sunday ads
b) Solve the problem graphically:
Corner Points
S T S Z
5 10 375
80 5 68 1535 <-- optimal solution
25 10 1075
70 25 20 1275
60
50
40 (1)
(2) (3)
30
FR
20
10
(4)
0
5 10 15 20 25 30 T
Feasible
Problem B.26, HR7E Factories & Warehouses R. Saltzman
Unit Shipping Costs & Capacities
To Warehouse Production
From A B C Capability
Factory 1 6 $ 5 $ 3 $ 6
Factory 2 8 $ 10 $ 8 $ 8
Factory 3 11 $ 14 $ 18 $ 10
Capacity 7 12 5
a) Write the objective function and constraints:
Objective: Minimize 6X1A + 5X1B + 3X1C + 8X2A + 10X2B + 8X2C + 11X3A + 14X3B + 18X3C
Constraints: X1A + X1B + X1C = 6
X2A + X2B + X2C = 8
X3A + X3B + X3C = 10
X1A + X2A + X3A = 7
X1B + X2B + X3B = 12
X1C + X2C + X3C = 5
Plus 9 nonnegativity constraints: all variables (cells) must be at least 0.
Problem C.1, HR7E Transportation Problem R. Saltzman
From Los Angeles Calgary Panama City Supply
Mexico City 6 $ 18 $ 8 $ 100
Detroit 17 $ 13 $ 19 $ 60
Ottawa 20 $ 10 $ 24 $ 40
Demand 50 80 70
a) Find an initial solution using the northwest-corner method:
From Los Angeles Calgary Panama City Supply
Mexico City 50 50 100
Detroit 30 30 60
Ottawa 40 40
Demand 50 80 70
b) Find an initial solution using the lowest-cost method:
From Los Angeles Calgary Panama City Supply
Mexico City 50 50 100
Detroit 40 20 60
Ottawa 40 40
Demand 50 80 70
c) The total cost of the northwest-corner solution = 3,120 $
The total cost of the lowest-cost solution = 2,000 $
To
To
To

You might also like