Operational ResearchUnit 47 min read
Transportation Problem – Formulation, Methods, and Applications
Unit 4 of Operational Research: introduces the transportation problem, its mathematical formulation, solution techniques (Northwest corner, Least‑cost, Vogel’s approximation, MODI, Stepping‑stone), dual interpretation, and real‑world applications in logistics and supply chain.
Key points
- The transportation problem is a special case of linear programming with supply and demand constraints.
- Feasible solutions can be generated by systematic methods; optimality is checked using reduced costs or dual variables.
- The dual of a transportation problem gives shadow prices for supply and demand nodes.
- Practical applications include distribution of goods, cash, and resources in logistics, banking, and e‑commerce.
- Understanding the structure of the problem allows efficient implementation of algorithms and software tools.
Introduction
The transportation problem is one of the most studied combinatorial optimization problems. It models the cost‑minimizing shipment of goods from a set of suppliers to a set of consumers while satisfying supply and demand constraints. Its structure is highly regular, which allows for specialized algorithms that are faster than general linear programming solvers.
Mathematical Formulation
Let there be supply nodes with supplies and demand nodes with demands . The cost of shipping one unit from to is .
The decision variables are (units shipped from to ).
The problem is feasible if . If not, a dummy source or sink is added.
Figure – Cost Matrix
Feasible Solution Generation
Several systematic methods exist to generate an initial basic feasible solution (IBFS).
| Method | Idea | Advantages | Disadvantages |
|---|---|---|---|
| Northwest Corner | Start at top‑left cell, allocate as much as possible, move right or down. | Simple, fast. | Can be far from optimal. |
| Least‑Cost | Allocate to the cell with the lowest cost first. | Often better IBFS. | Requires sorting costs. |
| Vogel’s Approximation | Use penalty (difference between two lowest costs) to choose row/column. | Usually close to optimal. | More computation. |
Figure – Northwest Corner Tableau
Optimality Test – MODI (Modified Distribution) Method
After obtaining an IBFS, the MODI method checks optimality by computing dual variables (for rows) and (for columns) such that for every basic cell :
For non‑basic cells, compute the reduced cost .
If all , the solution is optimal. Otherwise, the most negative indicates a loop to improve the solution.
Figure – Dual Variables and Reduced Costs
Worked Example – Using MODI
Problem
Supply: , , .
Demand: , , .
Cost matrix (same as above but with 3 columns):
Step 1 – IBFS (Northwest Corner)
| Cell | Allocation |
|---|---|
| 25 | |
| 5 | |
| 30 | |
| 10 | |
| 10 |
Step 2 – Dual Variables
Set .
From : .
From : .
From : .
From : .
From : .
Step 3 – Reduced Costs
| Cell | |||
|---|---|---|---|
| 30 | 43 | ||
| 50 | 10 | ||
| 40 | 6 | ||
| 30 | -6 |
The most negative reduced cost is at .
Step 4 – Form Loop
Loop: .
Minimum allocation on loop = 10 (at ).
Adjust: add 10 to , subtract 10 from .
New allocations:
, .
Step 5 – Recompute Duals
Re‑solve for duals with updated basic cells.
Resulting reduced costs are all non‑negative → optimal.
Optimal Solution
| Cell | Allocation |
|---|---|
| 25 | |
| 5 | |
| 30 | |
| 10 | |
| 10 |
Total Cost
.
Figure – Final Allocation Matrix
Dual Interpretation
The dual of the transportation problem is:
The optimal dual variables represent the shadow price of increasing supply at or demand at . In logistics, this indicates how much the total cost would change if an extra unit were supplied or demanded.
Comparison of Solution Methods
| Method | Complexity | Typical Use | Pros | Cons |
|---|---|---|---|---|
| Northwest Corner | Quick IBFS | Very fast | Poor quality | |
| Least‑Cost | IBFS | Better IBFS | Sorting overhead | |
| Vogel’s Approximation | IBFS | Near‑optimal IBFS | More computation | |
| MODI / Stepping‑Stone | per iteration | Optimality test | Exact optimality | Requires duals |
| Linear Programming (Simplex) | General | Handles constraints | Slower for large |
Real‑World Applications
In the real world
- eSewa Cash Distribution – eSewa maintains a network of ATMs across Nepal. The company uses a transportation model to decide how many cash bundles to send from central warehouses to each ATM, minimizing transport cost while meeting ATM cash demand.
- Daraz Warehouse‑to‑Customer Routing – Daraz’s fulfillment centers supply millions of orders daily. A transportation problem determines the optimal shipment plan from multiple warehouses to city‑wide delivery hubs, reducing shipping cost and delivery time.
- Ncell Bandwidth Allocation – Ncell allocates bandwidth from core data centers to regional base stations. The problem is analogous to transporting data packets, where the cost is latency and the supply/demand are bandwidth capacities and user demands.
These examples illustrate how the abstract transportation model directly informs operational decisions in finance, e‑commerce, and telecommunications.
Advantages & Disadvantages
| Aspect | Advantages | Disadvantages |
|---|---|---|
| Structure | Simple constraints, easy to model | Only applicable when all costs are linear |
| Algorithms | Specialized fast algorithms (MODI, Vogel) | Requires integer solutions for discrete units |
| Interpretability | Dual variables give clear economic meaning | Shadow prices may be non‑unique if degeneracy |
| Scalability | Handles thousands of nodes with modern solvers | Large dense cost matrices can be memory intensive |
Exam Tip
- Identify the type of problem: Confirm that the problem is a transportation problem (balanced supply/demand, linear costs).
- Choose the right method: For small problems, use MODI or Stepping‑stone; for larger problems, start with Vogel’s approximation to get a good IBFS.
- Check optimality: Always compute reduced costs; if any are negative, the solution is not optimal.
- Report results clearly: Provide the final allocation matrix, total cost, and dual variables if asked.
- Practice with past questions: Solve at least two full problems from the syllabus, including the example with the cost matrix above, to become comfortable with the steps.
Truck used in transportation problem (Image: Jim Evans, CC BY-SA 4.0, via Wikimedia Commons)
Warehouse in a supply chain (Image: Rsherwin, CC BY-SA 4.0, via Wikimedia Commons)
Based on the TU BCA syllabus for Operational Research (CAOR451), unit 4.
Discussion
Loading…