Transportation



   {  Exmpl2.4_Transportation.mpl  }

   {  Murty, Operations Research, Deterministic Optimization Models  }

   {  Chapter 2,  Example 2.4,  Transportation,  Size: 5x6,  Page 33  }


TITLE
    Transportation;

INDEX
    mine  = 1..2;
    plant = 1..3;

DATA
    Availability[mine]   := (800, 300);
    Requirement[plant]   := (400, 500, 200);
    ShipCost[mine,plant] := (11, 8, 2,
                              7, 5, 4);

VARIABLES
    Ship[mine, plant];

MODEL

    MIN TotalCost = SUM(mine, plant: ShipCost * Ship);

SUBJECT TO

    OreLimit[mine]:

        SUM(plant: Ship)  <=  Availability;

    OreReq[plant]:

        SUM(mine: Ship)  >=  Requirement;

END



Back To Top | Maximal Home Page | List of Models | Previous Page | Next Page