+ All Categories
Home > Documents > 379 Class 24 Transportation

379 Class 24 Transportation

Date post: 06-Apr-2018
Category:
Upload: mohana2589
View: 218 times
Download: 0 times
Share this document with a friend

of 32

Transcript
  • 8/2/2019 379 Class 24 Transportation

    1/32

    MIE 379 Deterministic Operations

    Research

    Todays Goals

    Formulate and initialize TransportationProblems

    Hillier and Lieberman Sec. 8.1

    Signed draft of case study due Today

    Case Study due Th. Dec. 11!

    Homework #11 Due Thursday. Dec. 4th: 8.1-2ab, 8.1-3a, 8.2-1c

  • 8/2/2019 379 Class 24 Transportation

    2/32

    Review

    Transportation problems are a special type of LP.

    We use a streamlined version of the simplex method tosolve.

    Classic problem involves transporting items from oneset of nodes to another.

    But other problems can be modeled as transportation

    problems and solved more easily.

  • 8/2/2019 379 Class 24 Transportation

    3/32

    Review

    Basically a transportation problem is one inwhich you are asking:

    How many of what should go where? How many goods should go from which factory to which

    warehouse?

    How many goods should go from which warehouse to whichstore?

    Inventory: How many goods should be made in month i to beavailable in month j? (i.e. how many goods should go from month ito month j?)

    Assigning students to schools.

  • 8/2/2019 379 Class 24 Transportation

    4/32

    Review

    Transportation Problem Components:

    A source set (Supply Centers / Factories)

    A destination set (Distribution Ctrs / Customers)

    A cost matrix (Transportation or storage costs)

    These are the only parameters in a

    transportation problem.

    cij : the cost to move from source i to

    destination j

    si: the supply available at source i

    dj: the demand at destination j.

  • 8/2/2019 379 Class 24 Transportation

    5/32

    Review

    Everything you need is in this parameter table

    Dest1

    Dest2

    Dest3

    Dest4

    Supply

    Source 1 c11 c12 c13 c14 s1

    Source 2 c21 c22 c23 c24 s2

    Source 3 c31 c32 c33 c34 s3

    Demand d1 d2 d3 d4

  • 8/2/2019 379 Class 24 Transportation

    6/32

    Review

    A basic transportation problem has fixed supplyequal to fixed demand and the goal is to find theleast cost way to deliver all the goods from

    supply nodes to demand nodes. But, we can also handle:

    Excess supply (or demand) by adding a dummydemand (or supply)

    Infeasible routes (make the cost $M)

    Flexible demand (split into two parts)

  • 8/2/2019 379 Class 24 Transportation

    7/32

    Review - Example 1 from last class

    The Childfair company has 3 plants producing strollers that areshipped to 4 distribution centers. Plants 1, 2, and 3 can produce14, 19, and 12 shipments per month. Each distribution centerneeds 10 shipments per month. The freight cost for each

    shipment is $100 plus $0.50 per mile. The distance is given intable below.

    Dist 1 Dist 2 Dist 3 Dist 4

    plant 1 800miles

    1300 400 700

    plant 2 1100 1400 600 1000

    plant 3 600 1200 800 900

  • 8/2/2019 379 Class 24 Transportation

    8/32

    Review - Example 1 from last class

    Formulate as a transportation problem:

    Dist 1 Dist 2 Dist 3 Dist 4 Dummy

    Demand

    Supply

    plant 1 $500 $750 $300 $450 $0 14

    plant 2 $650 $800 $400 $600 $0 19

    plant 3 $400 $700 $500 $550 $0 12

    Demand 10 10 10 10 5

    Why Dummy Demand? We have 5 units of excess supply.

  • 8/2/2019 379 Class 24 Transportation

    9/32

    Transportation Problem

    Example 2 The plants produce 60, 80 and 40 units. Firm has committed to

    sell 40 units to customer 1, 60 units to customer 2, and at least30to customer 3. Customers 3 and 4 want as much as they can get.

    How do we represent these parameters?

    Cust 1 Cust 2 Cust 3 Cust 4 output

    plant 1 $800 $700 $500 $200 60

    plant 2 $500 $200 $100 $300 80

    plant 3 $600 $400 $300 $500 40

    Demand 40 60 30 + ? ?

  • 8/2/2019 379 Class 24 Transportation

    10/32

    Solution

    Cust 1 Cust 2 Cust 3 Cust 3excess Cust 4 Output

    plant 1 $800 $700 $500 $500 $200 60

    plant 2 $500 $200 $100 $100 $300 80plant 3 $600 $400 $300 $300 $500 40

    Dummy

    plant

    -$M -$M -$M $0 $0 50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    11/32

    Inventory Problems

    In inventory problems you are asking how muchshould I make when to sell when?

    The sources are the periods in which you produce

    the goods. The destinations are the periods in which you sell the

    goods.

    Do the 2nd in-class example problem.

    If a particular allocation is impossible, use a big M. (forexample, you cant make a boat in Quarter 3 and sell itin Quarter 2).

  • 8/2/2019 379 Class 24 Transportation

    12/32

    Transportation Problems

    Inventory Problems

    How many sailboats to produce each of four quarters?

    Demand is projected to be 20, 30, 55 and 35

    Demand must be met on time

    They start with 10 sailboats

    Can produce 40 each quarter

    Holding costs are $20/boat/quarter

    Total capacity (supply) =

    Total demand =

    In-Class Example Problem 2

  • 8/2/2019 379 Class 24 Transportation

    13/32

    1st Q 2nd Q 3rd Q 4th Q Unusedcapacity

    Supply

    Initialinventory

    Capacity 1

    Capacity 2

    Capacity 3

    Capacity 4

    Demand

    Transportation Problems

    Inventory Problems

  • 8/2/2019 379 Class 24 Transportation

    14/32

    1st Q 2nd Q 3rd Q 4th Q Unusedcapacity

    Supply

    Initialinventory

    $0 $20 $40 $60 $M 10

    Capacity 1 $0 $20 $40 $60 $0 40

    Capacity 2 $M $0 $20 $40 $0 40

    Capacity 3 $M $M $0 $20 $0 40

    Capacity 4 $M $M $M $0 $0 40

    Demand 20 30 55 35 30

    Transportation Problems

    Inventory Problems

  • 8/2/2019 379 Class 24 Transportation

    15/32

    Transportation Problems: Algorithm

    Transportation problems use a slimmed downversion of the simplex method.

    Because they have equality constraints, we needto find an initial feasible solution.

    It turns out this is easy in transportationproblemsyou do not need to use the Big-Mmethod.

  • 8/2/2019 379 Class 24 Transportation

    16/32

    Initial Allocation

    Northwest Corner Method

    You simply start at the upper left hand cornerand allocate as much as you can;

    Then move right as far as you can;

    Then down; then right; etc.

  • 8/2/2019 379 Class 24 Transportation

    17/32

    Initial Allocation

    Cust 1 Cust 2 Cust 3 Cust 3excess Cust 4 Output

    plant 1 40 60

    plant 2 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

    Note: we are using a table similar to the formulation table. But

    the numbers in the boxes now represent the value of the decision

    variables, NOT the parameters

  • 8/2/2019 379 Class 24 Transportation

    18/32

    Initial Allocation

    Cust 1 Cust 2 Cust 3 Cust 3excess Cust 4 Output

    plant 1 40 60

    plant 2 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    19/32

    Initial Allocation

    Cust 1 Cust 2 Cust 3 Cust 3excess Cust 4 Output

    plant 1 40 20 60

    plant 2 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    20/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    21/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 30 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    22/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40

    Dummy

    plant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    23/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 40

    Dummyplant

    50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    24/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 0 40

    Dummyplant

    50

    Demand 40 60 30 50 50

    This represents a degenerate variable. It is basic but equal to zero.

  • 8/2/2019 379 Class 24 Transportation

    25/32

    Initial AllocationCust 1 Cust 2 Cust 3 Cust 3

    excessCust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 0 40

    Dummyplant

    50 50

    Demand 40 60 30 50 50

  • 8/2/2019 379 Class 24 Transportation

    26/32

    Initial Allocation

    Cust 1 Cust 2 Cust 3 Cust 3excess

    Cust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 0 40

    Dummy plant 50 50

    Demand 40 60 30 50 50

    Are we feasible? Yes; The fixed demand is met, cust 3 gets (30 + 50) 80, cust 4gets nothing (why?).Are we optimal? Who knows, probably were not. Costs come in later, this is

    only the allocation to find an initial solution.

  • 8/2/2019 379 Class 24 Transportation

    27/32

    Initial Allocation

    Cust 1 Cust 2 Cust 3 Cust 3excess

    Cust 4 Output

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 0 40

    Dummy plant 50 50

    Demand 40 60 30 50 50

    NOTE: This grid looks the same as the grid we used to formulate the

    problem. But this is completely different. Here, the numbers in the boxes

    in the center represent the value of the decision variable. In the

    formulation, these numbers represent costs.

  • 8/2/2019 379 Class 24 Transportation

    28/32

    Formulation vs Allocation

    Cus

    t 1Cu

    st 2Cu

    st 3Cust

    3exce

    ss

    Cust

    4Outp

    ut

    plant 1 40 20 60

    plant 2 40 30 10 80

    plant 3 40 0 40

    Dummy

    plant

    50 50

    Deman

    d

    40 60 30 50 50

    Cust

    1Cust

    2Cust

    3Cust

    3excess

    Cust

    4Outp

    ut

    plant

    1

    $800 $700 $500 $500 $200 60

    plant2

    $500 $200 $100 $100 $300 80

    plant

    3

    $600 $400 $300 $300 $500 40

    Dum

    my

    plant

    -$M -$M -$M $0 $0 50

    Dema

    nd

    40 60 30 50 50

    The yellow numbers represent the cost of

    going from plant i to cust j The green numbers represent number ofitems to produce in plant i for cust j

  • 8/2/2019 379 Class 24 Transportation

    29/32

    Transportation Problems

    Inventory Problems

    How many sailboats to produce each of four quarters?

    Demand is projected to be 20, 30, 55 and 35

    Demand must be met on time

    They start with 10 sailboats

    Can produce 40 each quarter

    Holding costs are $20/boat/quarter

    Total capacity (supply) =

    Total demand =

    In-Class Example Problem 2

    T i P bl

  • 8/2/2019 379 Class 24 Transportation

    30/32

    1st Q 2nd Q 3rd Q 4th Q Unusedcapacity

    Supply

    Initialinventory

    $0 $20 $40 $60 $M 10

    Capacity 1 $0 $20 $40 $60 $0 40

    Capacity 2 $M $0 $20 $40 $0 40

    Capacity 3 $M $M $0 $20 $0 40

    Capacity 4 $M $M $M $0 $0 40

    Demand 20 30 55 35 30

    Transportation Problems

    Inventory Problems

    T i P bl

  • 8/2/2019 379 Class 24 Transportation

    31/32

    1st Q 2nd Q 3rd Q 4th Q Unusedcapacity

    Supply

    Initialinventory

    10 10

    Capacity 1 10 30 40

    Capacity 2 40 40

    Capacity 3 15 25 40

    Capacity 4 10 30 40

    Demand 20 30 55 35 30

    Transportation Problems

    Inventory Problems

  • 8/2/2019 379 Class 24 Transportation

    32/32

    Transportation Problem - Example

    Mrs. A has a cookie company along with her 2 friends Mrs. B

    and Mr. C. They each can cook up to 40 dozen cookies per day,and then have their teenagers deliver them. They have a

    standing order from the 4 local elementary schools of 60,20,15,and 10. The cost of delivery, per dozen, is given by the table.

    1 2 3 4

    A 1 2 3 4

    B 2 1 2 5

    C 3 3 1 2


Recommended