- Write the standard transportation LP model (supplies, demands, costs, shipments).
- Check whether a transportation problem is balanced and fix it with a dummy source/destination if needed.
- Construct an initial basic feasible solution (BFS) using:
- Northwest corner rule
- Vogel’s approximation method (VAM)
- Russell’s approximation method (RAM)
- Perform the transportation optimality test using potentials
$u_i, v_j$ and reduced costs. - Explain (and conceptually execute) a transportation simplex improvement step via a closed loop.
- Transportation problems are structured LPs: constraints are “row sums = supply” and “column sums = demand”.
- This structure enables specialized methods that are much faster than general simplex on a full tableau.
- The
$u$ -$v$ potential method is a compact way to compute reduced costs and test optimality.
Decision variables:
-
$x_{ij}$ : quantity shipped from source$i$ to destination$j$
Objective (typically minimization): $$ \min \sum_{i=1}^m \sum_{j=1}^n c_{ij} x_{ij} $$
Constraints:
- Supply (each source ships its supply): $$ \sum_{j=1}^n x_{ij} = s_i $$
- Demand (each destination receives its demand): $$ \sum_{i=1}^m x_{ij} = d_j $$
- Nonnegativity:
$x_{ij} \ge 0$
Feasibility condition (stated explicitly in the lecture): $$ \sum_i s_i = \sum_j d_j. $$ If not balanced, add a dummy row/column to absorb the slack.
For a balanced
- A BFS has
$m+n-1$ basic variables (allocations).
- Start at the top-left cell
$(1,1)$ . - Allocate as much as possible:
$\min(\text{remaining }s_1,\text{remaining }d_1)$ . - If a supply is exhausted, move down; if a demand is exhausted, move right.
- Continue until all supplies/demands are satisfied.
- For each row/column, compute the penalty = (smallest cost) − (second smallest cost).
- Pick the row/column with the largest penalty.
- In that row/column, allocate as much as possible to the cheapest remaining cell.
- Update supplies/demands and repeat.
The lecture defines:
$$
\Delta_{ij} = c_{ij} - u_i - v_j
$$
and suggests choosing the most negative
For basic cells
For nonbasic cells, compute reduced costs: $$ \Delta_{ij} = c_{ij} - u_i - v_j. $$ For a minimization transportation problem:
- If all
$\Delta_{ij} \ge 0$ , the BFS is optimal. - If some
$\Delta_{ij} < 0$ , pick a negative$\Delta_{ij}$ as the entering cell.
- Choose an entering nonbasic cell with
$\Delta_{ij} < 0$ . - Form a closed loop through basic cells in the tableau, alternating horizontal/vertical moves.
- Mark alternating + and − signs along the loop (entering cell is +).
- Increase shipments on + cells and decrease on − cells by
$\theta$ , where$\theta$ is the smallest shipment on a − cell. - The cell that hits 0 leaves the basis; update the BFS.
Given a BFS, the lecture notes:
- Write
$c_{ij} - u_i - v_j = 0$ for each basic allocation. - Fix one potential (e.g., set
$u_k = 0$ ). - Solve sequentially for the remaining
$u$ ’s and$v$ ’s.
Lab07.md contains full setups and partial computations for transportation instances, including:
- A 3-source / 5-destination problem solved by:
- Northwest corner rule
- Minimal element method
with a reported total cost
$S = 1380$ for the shown allocations.
Not found in provided materials: Lab07.md ends mid-expression in Problem 3’s total-cost computation, so the final numeric cost there is incomplete.
The lecture explains:
- If some reduced costs are negative (e.g.,
$c_{25}-u_2-v_5=-2$ ), the BFS is not optimal. - Choose the most negative reduced cost as the entering cell.
- Update allocations along the induced loop; the first basic variable to hit 0 leaves the basis.
- Forgetting to balance the problem (
$\sum s_i$ must equal$\sum d_j$ ); fix with a dummy row/column. - Counting basics incorrectly; you typically want
$m+n-1$ allocations (degenerate BFS needs special care). - Solving for
$u_i, v_j$ without fixing one potential (system is underdetermined by 1). - Using the optimality condition with the wrong sign convention (transportation is usually a minimization).
- Building an invalid loop (must alternate row/column moves and return to the entering cell).
- Transportation problems have specialized structure.
- Build an initial BFS (NW/Vogel/Russell), compute potentials, test reduced costs.
- If nonoptimal, pivot via a closed-loop adjustment until all reduced costs are nonnegative.
- Formulate a transportation model and check the balance condition.
- Construct an initial BFS by NW corner or VAM.
- Compute
$u_i, v_j$ and reduced costs$\Delta_{ij}$ . - Perform one transportation simplex improvement step (loop +
$\theta$ ).
- I can write the transportation LP and explain each term.
- I can produce an initial BFS (NW corner / VAM).
- I can compute potentials and reduced costs for a given BFS.
- I can explain the loop adjustment and leaving-variable rule.
- F25 - Intro to Opt -Lecture_7 - Transportation Problem.md
- Tutorial07.md (note: file content is an interior-point tutorial and is truncated)
- Lab07.md (note: truncated near the end)