Unit 2
Unit 2
•Step 2: Determine the transportation cost between each source and destination pai
• The total goods shipped from each source should not exceed its supply:
• ∑j=1nxij≤ai∀i=1,2,...,m\sum_{j=1}^{n} x_{ij} \leq a_i \quad \forall i = 1,2,...,mj=1∑nxij≤ai
∀i=1,2,...,m
Demand Constraints
• The total goods received at each destination should meet its demand:
• ∑i=1mxij≥bj∀j=1,2,...,n\sum_{i=1}^{m} x_{ij} \geq b_j \quad \forall j = 1,2,...,ni=1∑mxij≥bj
∀j=1,2,...,n
Non-negativity Constraints
• The number of goods transported should be non-negative:
• xij≥0∀i,jx_{ij} \geq 0 \quad \forall i,jxij≥0∀i,j
Balanced vs. Unbalanced
Transportation Problem
2.Allocate as much as possible to the selected cell, considering supply and deman
•Does not consider cost while allocating, hence may not provide the least-cost initial
1.Identify the cell with the lowest cost in the entire cost matrix.
2.Allocate as much as possible to this cell without exceeding supply and demand.
5. Repeat the process with the next lowest cost cell among the remaining cells until all supplies and
demands are fulfilled.
Example
Evaluating the Solution
• Sum up the product of allocated units and their corresponding costs
to find the total cost.
Advantages
•Simple to implement.
Disadvanta
ges
•Allocation can be tied if multiple cells have the same lowest cost.
Conclusion
• The Least-Cost Method offers a better initial solution by considering
transportation costs, paving the way for further optimization.
Introduction
• Vogel’s Approximation Method (VAM) is a heuristic technique that
provides a closer-to-optimal initial feasible solution by considering the
penalty costs.
Concept of Penalty Cost
• Penalty cost is the difference between the two lowest costs in each
row and column. It represents the additional cost incurred if the
lowest cost route is not selected.
Steps of Vogel’s Approximation Method
1.Calculate penalty costs for each row and column.
•For each row, subtract the smallest cost from the next smallest cost.
•Repeat for each column.
3.Within that row or column, choose the cell with the lowest cost.
5.Cross out the satisfied row or column and recalculate penalties for the
reduced matrix.
6. Repeat steps 2-5 until all supplies and demands are satisfied.
Example
Evaluating the Solution
• Compute the total cost by multiplying allocations with corresponding
costs and summing up.
Advantage
s
• Continuing from Lecture 6's example, proceed step-by-step through the MODI method:
Calculate Potentials
• Assign u1=0u_1 = 0u1=0.
• Use allocated cells to set up equations:
• For cell (S1,D1): c11=u1+v1⇒5=0+v1⇒v1=5c_{11} = u_1 + v_1 \Rightarrow 5 = 0 + v_1 \Rightarrow v_1 = 5c11=u1
+v1⇒5=0+v1⇒v1=5
• Continue for other allocated cells.
Compute Opportunity Costs
• For unallocated cells, e.g., (S1,D2): Δ12=c12−(u1+v2)\Delta_{12} = c_{12} - (u_1 + v_2)Δ12=c12−(u1+v2)
• Identify the most negative Δij\Delta_{ij}Δij.
Adjust Allocations
• Form the loop: Identify a path through allocated and unallocated cells.
• Assign plus and minus signs.
• Determine theta (minimum allocation at minus positions).
• Update allocations and adjust supply and demand.
Check for Optimality
• Recompute opportunity costs.
Special Cases
Degeneracy
• Occurs when the number of allocations is less than m+n−1m + n - 1m+n−1.
• Resolution: Introduce a very small allocation (epsilon) in a cell to satisfy the
condition.
Multiple Optimal Solutions
• When alternative allocations yield the same minimum cost.
• Identification: Zero opportunity costs in multiple unallocated cells.
Unbalanced Problems
• Adjusted by adding dummy rows or columns with zero cost.
Advantages
of MODI
Method
•Fuel Distribution: Transporting oil, gas, and coal from refineries to power plants
and gas stations.
•IBM ILOG CPLEX: Advanced optimization tool for large-scale and complex
TP models.
Conclusion
• The Transportation Problem is a versatile and powerful tool in
operations research, offering immense value across various industries
by optimizing logistics and resource allocation, ultimately contributing
to increased profitability and efficiency.