In: Statistics and Probability
I need a screenshot of the proper excel model to solve this:
A Supply Company maintains 3 plants (production facilities P1, P2, & P3) which supply three fuel distributors (A, B, & C) in the city.
Daily plant capacities:
P1 = 4500 gallons; P2 = 3000 gallons; P3 = 5000 gallons
Daily distributor requirements:
A = 5500; B = 2500; C = 4200
Per-gallon transportation costs (in dollars) for each plant-distributor combination are:
A B C
P1 0.80 0.50 1.00
P2 0.70 0.65 0.80
P3 0.50 0.45 0.70
Because of a failure of expected supply earlier, the distributors have decided to charge a penalty per gallon if there are shortages in the future. Each distributor charges a different rate as follows:
A = $0.45; B = $0.55, C = $0.50
Your objective is to build a linear model that will determine the optimum supply of fuel to the distributors in order to minimize the total transportation cost as well as the charges payable as penalty
Let:
X1A = number of gallons of gasoline supplied from Plant 1 to Distributor A
X1B = number of gallons of gasoline supplied from Plant 1 to Distributor B
X1C = number of gallons of gasoline supplied from Plant 1 to Distributor C
X2A = number of gallons of gasoline supplied from Plant 2 to Distributor A
X2B = number of gallons of gasoline supplied from Plant 2 to Distributor B
X2C = number of gallons of gasoline supplied from Plant 2 to Distributor C
X3A = number of gallons of gasoline supplied from Plant 3 to Distributor A
X3B = number of gallons of gasoline supplied from Plant 3 to Distributor B
X3C = number of gallons of gasoline supplied from Plant 3 to Distributor C
MIN 0.80X1A +0.50X1B +1.00X1C +0.70X2A +0.65X2B +0.80X2C +0.50X3A +0.45X3B +0.70X3C
s.t.
X1A + X1B + X1C <= 4500
X2A + X2B + X2C <= 3000
X3A + X3B + X3C <= 5000
X1A + X2A + X3A = 5500
X1B + X2B + X3B = 2500
X1C + X2C + X3C = 4200
X1A, X1B, X1C, X2A, X2B, X2C, X3A, X3B, X3C >= 0
Formulas
A | B | C | |||
P1 | 0.8 | 0.5 | 1 | ||
P2 | 0.7 | 0.65 | 0.8 | ||
P3 | 0.5 | 0.45 | 0.7 | ||
A | B | C | |||
P1 | 1700 | 2500 | 0 | =SUM(B8:D8) | 4500 |
P2 | 0 | 0 | 3000 | =SUM(B9:D9) | 3000 |
P3 | 3800 | 0 | 1200 | =SUM(B10:D10) | 5000 |
=SUM(B8:B10) | =SUM(C8:C10) | =SUM(D8:D10) | |||
5500 | 2500 | 4200 | |||
Cost | =SUMPRODUCT(B2:D4,B8:D10) | ||||
data -> solver
Solution
A | B | C | |||
P1 | 0.8 | 0.5 | 1 | ||
P2 | 0.7 | 0.65 | 0.8 | ||
P3 | 0.5 | 0.45 | 0.7 | ||
A | B | C | |||
P1 | 1700 | 2500 | 0 | 4200 | 4500 |
P2 | 0 | 0 | 3000 | 3000 | 3000 |
P3 | 3800 | 0 | 1200 | 5000 | 5000 |
5500 | 2500 | 4200 | |||
5500 | 2500 | 4200 | |||
Cost | 7750 |