Excel solution to operational research-transportation problems
Original problem: a food company has three processing plants and each plant produces A1-7 T, A2-4 t, A3-9 T, respectively, ship these products to four sales regions and the daily sales volume is B1 -- 3 T, B2 -- 6 T, B3 -- 5 T, B4 -- 6 T, asking how to adjust the service, what is the minimum total freight when the sales volume in each sales area is met?
Solving Transportation problems with Excel
Form of transportation problems:
In Excel:
Steps:
1,F1: F3 fill in the output table, A5: D5 fill in the sales table, A7: D9 fill in the freight table.
2. Fill in sum (A1: d1) in E1 and copy it to E3; fill in A4 = sum (A1: A3) and copy it to D4; fill in A6 = sumproduct (A1: D3, a7: D9 ).
3,Start planning and solving:
Set the target cell: $ A $6
Equal to: Minimum value
Variable cell: $ A $1: $ d $3
Constraint: A4 = A5, B4 = B5, C4 = C5, D4 = D5, E1 <= F1, E2 <= F2, E3 <= F3
Select in the option: Use a linear model and assume that the model is not negative.
4,Solution
Answer:
A1: 5 TB for B3 and 2 for B4
A2: 3 TB for B1 and 1 TB for B4
A3: 6 TB for B2 and 3 TB for B4
A4 3 TB for B1, 6 TB for B2, 5 TB for B3, and 6 TB for B4
Total freight is at least 85