Formulating Transportation Problems as LPs
Formulate a transportation problem as a linear program: introduce shipment decision variables , write the cost-minimizing objective, and encode supply, demand, and non-negativity constraints. Distinguish between balanced (equality) and unbalanced (inequality) formulations.
Step 1 of 157%
Tutorial
The Transportation Problem: Variables and Objective
A transportation problem is a special LP for shipping a single commodity from supply sources to demand destinations at minimum total cost. The data are:
- = supply available at source , for
- = demand at destination , for
- = cost per unit shipped from source to destination
We introduce one decision variable for each (source, destination) pair:
A problem with sources and destinations therefore has decision variables.
The objective is to minimize total shipping cost across every route:
For a small problem with sources and destinations, the objective expands to