Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A special class of the LP problem Deals with the situation in which commodities are shipped from sources to destinations Objective is to determine the amounts shipped from each source to each destination Need to minimise the total shipping cost Need to satisfy both the supply limits and the demand requirements
a1
Units of supply
1 2 m
c1 1 : x1 1
destinations
1 2 n
b1 b2 bn
Units of demand
a2 am
cm n : xm n
The LP model is
s. t. x11 + x12 x21 + x22 x31 + x32
minimise z = 80x11 + 215x12 + 100x21 + 108x22 + 102x31 + 68x32 = 1000 (Sydney) = 1500 (Perth) = 1200 (Melbourne)
x11 + x21 + x31 = 2300 (Brisbane) x12 + x22 + x32 = 1400 (Adelaide) xij 0, i = 1, 2, 3, j = 1, 2
Demand 2300
The cij from the dummy plant to the destinations is 0 because the plant does not exist The cij from the dummy source to the destinations may assume positive values as well
e.g., to ensure that Adelaide will receive all its demand, we assign a high cij (penalty) to the entry from the dummy source to Adelaide
The dummy plant ships 200 cars to Adelaide, which means that it will be 200 cars short !
1 2 3 3
Demand period
1 2 4 4
100 200
demand
180 300
The 7 destinations represent the 7 days of the week The 8 sources are defined as follows: Source 1: buying new blades, Sources 2 to 8: the 7 days of the week
The six 2-day blades will be used on Thursday etc. The disposal column shows the # of used blades that will be left unsharpened at the end of a given day
The difference the methods is the quality of the starting basic solution they produce In general, 3. yields the best and 1. yields the worst However 1. involves the least computations.
Remove column 1
Remove row 1
Remove column 2
Remove column 3
Remove row 2
x11 = 5, x12 = 10, x22 = 5, x23 = 15, x24 = 5, x34 = 10 The associated cost of the schedule is z = 5x10 + 10x2 + 5x7 + 15x9 + 5x20 +10x18 = $520
Remove column 1
Remove column 3
Remove row 1
Remove row 3
x12 = 15, x14 = 0, x23 = 15, x24 = 10, x31 = 5, x34 = 5 The associated cost of the schedule is z = 15x2 + 0x11 + 15x9 + 10x20 + 5x4 +5x18 = $475
(c)
(d)
Demand Penalty
Update variable x31 (row 3 has highest penalty and x31 has lowest cost in row 3)
Demand Penalty
Demand Penalty
Demand Penalty
Remove column 1
Demand Penalty
Recalculate penalties
Demand Penalty
Update variable x12 (row 1 has highest penalty and x12 has lowest cost in row 1)
Demand Penalty
Demand Penalty
Demand Penalty
Demand Penalty
Re-calculate penalties
Demand Penalty
Update variable x23 (row 2 has highest penalty and x23 has lowest cost in row 2)
Demand Penalty
Demand Penalty
Demand Penalty
Remove column 2
Demand
Only one column left which has positive supply of 15 units so apply least-cost method
Demand
Demand
Demand
Demand
Remove row 1
Demand
Demand
Demand
Demand
Remove row 3
Demand
Demand
Demand
Demand
x12 = 15, x14 = 0, x23 = 15, x24 = 10, x31 = 5, x34 = 5 The associated cost of the schedule is z = 15x2 + 0x11 + 15x9 + 10x20 + 5x4 +5x18 = $475 Same as L-CM!