Week 6 Extra Problems Solution
Week 6 Extra Problems Solution
CHAPTER 3
LINEAR PROGRAMMING: FORMULATION AND
APPLICATIONS
Problems
3.16 a) This is a distribution-network problem (transportation problem) because
it deals with the distribution of goods through a distribution network at
minimum cost.
b)
1
b)
2
CHAPTER 15
TRANSPORTATION AND ASSIGNMENT PROBLEMS
Problems
15.7
Algebraic Formulation
Let xij be the number of acres of i produced by country j (in millions of acres)
i: w - wheat j: e - England
b - barley f - France
o - oats s - Spain
objective function:
min cost = [18 * $9.00]xwe + [13 * $7.20]xwf + [16 * $9.90]xws
+ [15 * $8.10]xbe + [12 * $9.00]xbf + [12 * $8.40]xbs
+ [12 * $6.90]xoe + [10 * $7.50]xof + [16 * $6.30]xos
s.t.
3
A B C D E F G
1 Labor Hours / Acre
2 Wheat Barley Oats
3 England 18 15 12
4 France 13 12 10
5 Spain 16 12 16
6
7
8 Labor Cost / Hour
9 Wheat Barley Oats
10 England $9.00 $8.10 $6.90
11 France $7.20 $9.00 $7.50
12 Spain $9.90 $8.40 $6.30
13
14
15 Cost/Acre
16 Wheat Barley Oats
17 England $162.00 $121.50 $82.80
18 France $93.60 $108.00 $75.00
19 Spain $158.40 $100.80 $100.80
20
21
22 Land Allocation (millions of acres)
23 Wheat Barley Oats Total Supply
24 England 0 0 70 70 = 70
25 France 110 0 0 110 = 110
26 Spain 15 60 5 80 = 80
27 Total 125 60 75
28 = = = Total Cost ($millions)
29 Demand 125 60 75 25,020
4
15.15
Algebraic Formulation
Let xij be the amount of widgets produced in regular time in week i shipped in week j
i = 1, 2, 3 j = 1, 2, 3
Let yij be the amount of widgets produced in overtime in week i shipped in week j
i = 1, 2, 3 j = 1, 2, 3
objective function:
s.t.
x11 + x12 + x13 =< 2 [max production reg. time week 1]
x22 + x23 =< 3 [max production reg. time week 2]
x33 =< 1 [max production reg. time week 3]
z1 + z2 + z3 = 2
5
A B C D E F G H
1 Production Cost
2 Regular Overtime
3 Week 1 $300 $400
4 Produced 2 $500 $600
5 3 $400 $500
6
7 Storage Cost / Week $50
8
9
10 Unit Cost Month Shipped (Product 1)
11 1 2 3
12 Start $0 $50 $100
13 RT1 $300 $350 $400
14 Month OT1 $400 $450 $500
15 Produced RT2 Š $500 $550
16 OT2 Š $600 $650
17 RT3 Š Š $400
18 OT3 Š Š $500
19
20
21 Shipments Week Shipped
22 1 2 3 Total Shipped Capacity
23 Start 2 0 0 2 = 2
24 RT1 0 2 0 2 <= 2
25 Month OT1 1 1 0 2 <= 2
26 Produced RT2 0 0 0 0 <= 3
27 OT2 0 0 0 0 <= 2
28 RT3 0 0 1 1 <= 1
29 OT3 0 0 2 2 <= 2
30 Total Received 3 3 3
31 = = = Total Cost
32 Demand 3 3 3 $2,950
6
15.20
Double click on the excel spreadsheet above to check out the formulas for the
objective function (i.e. Total Cost), and contstraints.(i.e. Total
Assignments and Total Assigned).