1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

83
1 ENGM 792 ENGM 792

Transcript of 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

Page 1: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

1

ENGM 792ENGM 792

Page 2: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

2

Prototype ExamplePrototype Example

K-Log Lumber Mill Warehouse

Page 3: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

3

Prototype ExamplePrototype Example

K-Log Lumber Mill Warehouse

10

7 8

Page 4: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

4

Prototype ExamplePrototype Example

K-Log Lumber Mill Warehouse

10

7 8

6

11

12

Page 5: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

5

Prototype ExamplePrototype Example

K-Log Lumber Mill Warehouse

10

7 8

6

11

12137

5

Page 6: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

6

PrototypePrototype

RC

DO

OC

SF

AL

SP

10

78

137

56

1112

Page 7: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

7

PrototypePrototype

RC

DO

OC

SF

AL

SP

10

78

137

56

1112

150

80

120

130

100

120

Supply

Demand

Page 8: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

8

PrototypePrototype

1

6

5

4

2

3

10

78

137

56

1112

150

80

120

130

100

120

Supply

Demand

Page 9: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

9

PrototypePrototype

Min Z = Transportation Costss.t.

Total amount shipped from plant i = Capacity at i

Demand at each Warehouse is satisfied

Page 10: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

10

PrototypePrototype

Min Z = 10X14 + 7X15 + 8X16 + 13X24 + 7X25 + 5X26 + 6X34 + 11X35 + 12X36

Page 11: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

11

PrototypePrototype

Min Z = 10X14 + 7X15 + 8X16 + 13X24 + 7X25 + 5X26 + 6X34 + 11X35 + 12X36

s.t.X14 + X15 + X16 = 130

X24 + X25 + X26 = 100

X34 + X35 + X36 = 120

Page 12: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

12

PrototypePrototype

Min Z = 10X14 + 7X15 + 8X16 + 13X24 + 7X25 + 5X26 + 6X34 + 11X35 + 12X36

s.t.X14 + X15 + X16 = 130

X24 + X25 + X26 = 100

X34 + X35 + X36 = 120

X14 + X24 + X34 = 150

X15 + X25 + X35 = 80

X16 + X26 + X36= 120

Page 13: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

13

Prototype Prototype (re-index (re-index warehouse)warehouse)

Min Z = 10X11 + 7X12 + 8X13 + 13X21 + 7X22 + 5X23 + 6X31 + 11X32 + 12X33

s.t.X11 + X12 + X13 = 130

X21 + X22 + X23 = 100

X31 + X32 + X32 = 120

X11 + X21 + X31 = 150

X12 + X22 + X32 = 80

X13 + X23 + X33= 120

Page 14: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

14

General FormulationGeneral FormulationTransportation Problem Transportation Problem MinZ c X

s t

X s i m

X d j n

ijj

n

i

m

ij

ijj

n

i

iji

m

j

11

1

1

1 2

1 2

. .

, , ,...,

, , ,...,

Also, requires that supply matches demand.

Page 15: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

15

General Format General Format Transportation Problem Transportation Problem

Z X14 X15 X16 X24 X25 X26 X34 X35 X36 RHS

1 10 7 8 13 7 5 6 11 12 00 1 1 1 1300 1 1 1 1000 1 1 1 1200 1 1 1 1500 1 1 1 800 1 1 1 120

Also, requires that supply matches demand.

Page 16: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

19

Suppliers Supply10 7 8

Rapid City 13013 7 5

Albert Lea 1006 11 12

Spokane 120 Demand

San Francisco Ok City DaytonWarehouses

150 80 120

Transportation Transportation TableauTableau

Page 17: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

20

Transportation Transportation TableauTableau

Total Demand = Total Supply

Suppliers Supply10 7 8

Rapid City 13013 7 5

Albert Lea 1006 11 12

Spokane 120 Demand 350150 80 120

San Francisco Ok City DaytonWarehouses

Page 18: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

21

Initial Feasible Initial Feasible SolutionSolution

Northwest Corner requires m+n-1 basic variablesVogel’s ApproximationRussel’s Approximation (Not done for class)

Suppliers Supply10 7 8

Rapid City 13013 7 5

Albert Lea 1006 11 12

Spokane 120 Demand

San Francisco Ok City DaytonWarehouses

150 80 120

Page 19: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

22

Suppliers Supply10 7 8

Rapid City 13013 7 5

Albert Lea 1006 11 12

Spokane 120 Demand

San Francisco Ok City DaytonWarehouses

150 80 120

Initial Feasible Initial Feasible SolutionSolution

Northwest Corner

Page 20: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

23

Initial Feasible Initial Feasible SolutionSolution

Northwest Corner

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 21: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

24

Initial Feasible Initial Feasible SolutionSolution

Total Cost = 10(130) + 13(20) + 7(80) + 11(0) + 12(120) = $3,560

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 22: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

25

Clever IdeaClever Idea

Suppose we can find a loop to move units around.

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 23: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

26

Clever IdeaClever Idea

Suppose we can find a loop to move units around.

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 24: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

27

Clever IdeaClever Idea

Suppose we can find a loop to move units around.

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 25: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

28

Clever IdeaClever Idea

Suppose we can find a loop to move units around.

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 26: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

29

Clever IdeaClever Idea

Suppose we can find a loop to move units around.

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 27: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

30

Clever IdeaClever Idea

For each unit I can move around the loop, I can save -5 + 12 - 11 + 7 = 3 per unit of flow

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 28: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

31

Clever IdeaClever Idea

I can move at most 80 units around this loop

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 29: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

32

Clever IdeaClever Idea

I can move at most 80 units around this loop

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 80 40 120 Demand

San Francisco Ok City DaytonWarehouses

150 80 120

Page 30: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

33

Clever IdeaClever Idea

Total Cost = 10(130) + 13(20) + 11(80) + 5(80) + 12(40) = $3,320 = $3,560 - 3(80)

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 80 40 120 Demand

San Francisco Ok City DaytonWarehouses

150 80 120

Page 31: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

34

Finding the Best Finding the Best LoopLoop

Basic Cell cij = ui + vj

Nonbasic Cell dij = cij - ui – vj

Note: book doesn’t use d’s page 321

Suppliers Supply10 7 8

Rapid City 130 13013 7 5

Albert Lea 20 80 1006 11 12

Spokane 0 120 120 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Page 32: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

35

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u2 = 0

Page 33: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

36

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7

13 = 0 + v1 v1 = 13

7 = 0 + v2 v2 = 7

Page 34: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

37

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

150 80 120

13 7

San Francisco Ok City Dayton

Warehouses

10 = u1 + 13 u1 = -3

11 = u3 + 7 u3 = 4

Page 35: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

38

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

12 = 4 + v3 v3 = 8

Page 36: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

39

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

d12 = 7 -(-3) - 7 = +3

3

Page 37: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

40

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

d13 = 8 -(-3) - 8 = +3

33

Page 38: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

41

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

d23 = 5 -0 - 8 = -3

33

3

Page 39: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

42

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

d31 = 6 -4 - 13 = -11

33

3

11

Page 40: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

43

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

Note: -3 is the same thing we got earlier by finding a loop.

33

3

11

Page 41: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

44

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

Let non-basic cell with largest -dij enter basis.

33

3

11

Page 42: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

45

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

Find a feasible loop.

Page 43: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

46

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130 -3

13 7 5Albert Lea 20 80 100 0

6 11 12Spokane 0 120 120 4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

13 7 8

Move the maximim unit flow around the loop.

Page 44: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

47

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Move the maximim unit flow around the loop.Total Cost = 10(130) + 13(20) + 7(80) + 12(120) = $3,560

Page 45: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

48

Transportation Transportation AlgorithmAlgorithm

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

0

San Francisco Ok City Dayton

Warehouses

Note that ui and vj must now be recomputed from new basis.Arbitrarily select v1 = 0

Page 46: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

49

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

0

San Francisco Ok City Dayton

Warehouses

Find u1, u2, u3, v2, v3

dij for non-basic cells

Page 47: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

52

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130 10

13 7 5Albert Lea 20 80 100 13

6 11 12Spokane 0 120 120 6 Demand

Vj

150 80 120

0 -6 6

San Francisco Ok City Dayton

Warehouses

Find u1, u2, u3, v2, v3 and dij for non-basic cells

8

14

Page 48: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

53

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Find most -dij. Find feasible loop for transfer.

14

Page 49: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

54

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 20 80 100

6 11 12Spokane 0 120 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Find most -dij. Find feasible loop for transfer.

Page 50: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

55

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 80 20 100

6 11 12Spokane 20 100 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

Total Cost = 10(130) + 7(80) + 5(20) + 6(20) + 12(120) = $3,280 = 3,560 - 20(14)

Page 51: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

56

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u2 = 0. Find other multiplier values.

Page 52: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

57

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

7 5

Arbitrarily select u2 = 0. Find other multiplier values.

Page 53: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

58

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 7 Demand

Vj

150 80 120

7 5

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u2 = 0. Find other multiplier values.

Page 54: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

59

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 7 Demand

Vj

150 80 120

-1 7 5

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u2 = 0. Find other multiplier values.

Page 55: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

61

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130 11

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 7 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

-1 7 5

11 8

3

Find all dij values. Select largest –dij to leave basis.

Page 56: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

62

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 130 130 11

13 7 5Albert Lea 80 20 100 0

6 11 12Spokane 20 100 120 7 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

-1 7 5

Find largest -dij. Find feasible loop for transfer.

Page 57: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

63

Class Problem Class Problem Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 100 20 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Total Cost = 10(50) + 7(80) + 5(100) + 6(100) + 12(20)

= $2,400 = 3,280 - 11(80)

Page 58: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

64

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 100 20 120 Demand

Vj

150 80 120

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u1 = 0. Find other multiplier values.

Page 59: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

65

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 100 20 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7

Arbitrarily select u1 = 0. Find other multiplier values.

Page 60: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

66

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 100 20 120 -4 Demand

Vj

150 80 120

10 7

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u1 = 0. Find other multiplier values.

Page 61: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

67

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 100 20 120 -4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7 16

Arbitrarily select u1 = 0. Find other multiplier values.

Page 62: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

68

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100 -11

6 11 12Spokane 100 20 120 -4 Demand

Vj

150 80 120

10 7 16

San Francisco Ok City Dayton

Warehouses

Arbitrarily select u1 = 0. Find other multiplier values.

Page 63: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

69

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100 -11

6 11 12Spokane 100 20 120 -4 Demand

Vj

150 80 120

10 7 16

San Francisco Ok City Dayton

Warehouses

8

Find all dij values. Select largest –dij to leave basis.

Page 64: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

70

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100 -11

6 11 12Spokane 100 20 120 -4 Demand

Vj

150 80 120

10 7 16

San Francisco Ok City Dayton

Warehouses

Find largest -dij. Find feasible loop.

8

Page 65: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

71

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 50 80 130 0

13 7 5Albert Lea 100 100 -11

6 11 12Spokane 100 20 120 -4 Demand

Vj

150 80 120

10 7 16

San Francisco Ok City Dayton

Warehouses

Find largest -dij. Find feasible loop.

Page 66: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

72

Class Problem Class Problem Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 120 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

Total Cost = 10(30) + 7(80) + 8(20) + 5(100) + 6(120)

= $2,240 = 2,400 - 8(20)

Page 67: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

73

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 120 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

Arbitrarily select u1 = 0.

Page 68: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

74

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100

6 11 12Spokane 120 120 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7 8

Arbitrarily select u1 = 0. Find other multipliers.

Page 69: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

75

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100 -3

6 11 12Spokane 120 120 -4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7 8

Arbitrarily select u1 = 0. Find other multipliers.

Page 70: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

76

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100 -3

6 11 12Spokane 120 120 -4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7 8

All dij > 0 Solution is optimaloptimal.

6 3

8 8

Page 71: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

77

Class Problem Class Problem

Suppliers Supply Ui

10 7 8Rapid City 30 80 20 130 0

13 7 5Albert Lea 100 100 -3

6 11 12Spokane 120 120 -4 Demand

Vj

San Francisco Ok City Dayton

Warehouses

150 80 120

10 7 8

Z = 10(30) + 7(80) + 8(20) + 5(100) + 6(120) = 2,240

6 3

8 8

Page 72: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

78

Initialization Initialization (Vogel’s) (Vogel’s)

Page 73: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

79

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 74: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

80

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 75: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

81

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 76: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

82

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 77: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

83

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 78: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

84

Initialization (Vogel’s) Initialization (Vogel’s) Table 8.17 H&LTable 8.17 H&L

Page 79: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

85

Dummy WarehouseDummy WarehouseSuppliers Supply

10 7 8Rapid City 150

13 7 5Albert Lea 120

6 11 12Spokane 150 Demand 150 80 120

San Francisco Ok City DaytonWarehouses

Suppose total supply exceeds total demand.

Page 80: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

86

Dummy WarehouseDummy Warehouse

Suppliers Supply10 7 8 0

Rapid City 15013 7 5 0

Albert Lea 1206 11 12 0

Spokane 150 Demand

Ok City Dayton

150 80 120

DummyWarehouses

70

San Francisco

Add dummy warehouse with 0 cost.

Page 81: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

87

Dummy SupplierDummy SupplierSuppliers Supply

10 7 8Rapid City 130

13 7 5Albert Lea 100

6 11 12Spokane 120 Demand 150 120 150

San Francisco Ok City DaytonWarehouses

Suppose total demand exceeds total supply.

Page 82: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

88

Dummy SupplierDummy Supplier

Suppliers Supply

10 7 8Rapid City 150

13 7 5Albert Lea 120

6 11 12Spokane 150

0 0 0Dummy 70 Demand

Warehouses

150 120 150

San Francisco Ok City Dayton

Page 83: 1 ENGM 792. 2 Prototype Example K-Log Lumber Mill Warehouse.

89

Final slideFinal slide

Transportation Problem Northwest corner Method Transportation Tableau Method Vogler’s approximation (Initialization)