Transportation Model Problem Statement in MPL
Warehouse = (Dayton, Nashville);
Customer = (GM, Ford, Chrysler);
WHMaxCapacity[Warehouse] := (500, 500);
CustRequirement[Customer] := (300, 400, 200);
TransCost[Warehouse,Customer] := (13, 22, 9, 14, 10, 32);
VolumeShipped[Warehouse, Customer] ;
TotalTransCost := SUM(Warehouse,Customer: TransCost * VolumeShipped);
Capacity[Warehouse] : SUM(Customer: VolumeShipped) < WHMaxCapacity ;
Demand[Customer] : SUM(Warehouse: VolumeShipped) > CustRequirement ;