4.4 Transportation
Lecture notes (PDF) · Chapter slides (PDF)
Technique: standard pattern, availabilities and demands · All the techniques
The problem
A company has \(s \in \mathbb{Z}_{\ge 1}\) warehouses and has to serve \(r \in \mathbb{Z}_{\ge 1}\) clients. For each warehouse \(i \in \{1,2,\dots,s\}\), the value \(a_i \in \mathbb{Q}_{> 0}\) is the available quantity of product.
For each client \(j \in \{1,2,\dots,r\}\), the value \(d_j \in \mathbb{Q}_{> 0}\) is the demand, and \(c_{ij} \in \mathbb{Q}_{\ge 0}\) is the cost of transporting one unit of product from warehouse \(i\) to client \(j\). The company aims to determine a minimum cost transportation plan.
The model
We introduce the following \(s \cdot r\) non-negative variables:
Using these variables, an LP model for the problem reads as follows:
- The availability constraints impose that no warehouse ships more than its availability.
- The demand constraints impose that every client receives at least its demand.
- The model is feasible if and only if \(\sum_{i} a_i \ge \sum_{j} d_j\).
Example
Example 4.3: transportation
Consider an instance with \(s=2\) warehouses, of availabilities \(a_1 = 50\) and \(a_2 = 60\), and \(r=2\) clients, of demands \(d_1 = 30\) and \(d_2 = 80\). The transportation costs are:
| \(c_{ij}\) | \(j=1\) | \(j=2\) |
|---|---|---|
| \(i=1\) | 4 | 6 |
| \(i=2\) | 5 | 3 |
An optimal solution is
with optimal value
Worked models that use this technique: Example 4.5 — Transportation from warehouses to clients