Transportation Simplex Steps
Transportation Simplex Steps
can use the Solver add-in, which allows you to solve optimization problems like
transportation problems. Here's a step-by-step guide:
Step-by-Step Instructions for Solving a Transportation Problem in Excel
using Solver:
D E F Supply
A 8 7 3 10
B 3 8 9 70
C 11 3 5 80
Demand 50 30 80
D E F Supply
A X1 X2 X3 10
B X4 X5 X6 70
C X7 X8 X9 80
Demand 50 30 80
These cells (X1, X2, X3, etc.) will represent the number of units shipped
from each factory to each warehouse and will be filled by the solver.
Step 3: Setup the Objective Function (Minimize Cost)
In another cell, calculate the total transportation cost using the following
formula:
Total Cost=(X1×8)+(X2×7)+(X3×3)+(X4×3)+(X5×8)+(X6×9)+(X7×11)+
(X8×3)+(X9×5)\text{Total Cost} = (X1 \times 8) + (X2 \times 7) + (X3 \times 3)
+ (X4 \times 3) + (X5 \times 8) + (X6 \times 9) + (X7 \times 11) + (X8 \times 3)
+ (X9 \times 5)Total Cost=(X1×8)+(X2×7)+(X3×3)+(X4×3)+(X5×8)+(X6×9)+
(X7×11)+(X8×3)+(X9×5)
o In Excel, this is done by multiplying the cost values with the
corresponding decision variables (shipment values), and summing
them up.
Step 4: Setup Constraints
You need to ensure that the supply and demand constraints are met:
Supply Constraints: The total shipments from each source (factory)
should be equal to the available supply.
For Factory A:
X1+X2+X3=10X1 + X2 + X3 = 10X1+X2+X3=10
Similarly, for Factories B and C.
Demand Constraints: The total shipments to each destination
(warehouse) should satisfy the demand.
For Warehouse D:
X1+X4+X7=50X1 + X4 + X7 = 50X1+X4+X7=50
Similarly, for Warehouses E and F.
Step 5: Use Solver to Minimize the Cost
1. Enable Solver: Go to File → Options → Add-ins. Select Solver Add-in
and click OK. Then, go to Data tab, and click Solver.
2. Set Objective:
o Set the Objective Cell as the cell where you calculated the total
transportation cost.
o Select Min to minimize the total cost.
Add supply constraints: For each source (A, B, and C), make
sure the sum of shipments equals the available supply.
Add demand constraints: For each destination (D, E, and F),
ensure that the sum of shipments meets the demand.
Add non-negativity constraints (i.e., the shipment values
must be ≥ 0).
Ensure that the shipment cells (X1, X2, etc.) are all ≥ 0
by adding a constraint.
5. Choose the Solving Method:
o Select Simplex LP as the solving method in Solver.
6. Solve:
o Click Solve, and Excel will find the optimal solution.
By following these steps, you will solve the transportation problem using the
Simplex Method in Excel.