Example: A least-cost protein blend
A feed producer needs exactly 500 kg of a blend containing at least 18% protein by mass. Two ingredients are available:
Ingredient | Protein by mass | Cost, in dollars/kg | Availability |
|---|---|---|---|
L | 10% | 0.40 | Sufficient for the whole batch |
H | 30% | 0.70 | At most 250 kg |
Assume mixing causes no losses, protein masses add, and ingredient quantities can take any nonnegative real values.
a) Define the decision variables and formulate a least-cost blending model.
Let x be the kilograms of L and y be the kilograms of H. Multiplying each ingredient's quantity by its cost per kilogram gives the total cost, in dollars:
The finished mass must equal ________ kg:
The batch needs at least
Each ingredient contributes its mass multiplied by its protein fraction. The quality requirement is therefore
Complete the model with availability and nonnegativity:
The protein constraint compares kilograms of protein on both sides; 18% alone would not be a mass requirement.
b) A buyer proposes using 350 kg of L and 150 kg of H. Calculate its cost and protein percentage, and decide whether it is feasible.
First check the finished mass and H availability:
Both conditions hold. Calculate protein mass and then divide by total blend mass:
The ingredient cost is
The recipe costs 245 dollars but is infeasible: its 16% protein content is below the required 18%. Meeting the batch mass and stock limit does not compensate for failing quality.
c) Determine the least-cost feasible recipe and verify its cost and quality.
Use the fixed mass to write x=500−y. Substitute into the protein requirement:
Together with availability, the feasible range is 200≤y≤250 kg. Rewrite the cost using the same substitution:
Cost increases by ________ dollars for each additional kilogram of H that replaces L. Choose the smallest feasible H quantity:
Verify the protein percentage and cost:
The least-cost recipe uses 300 kg of L and 200 kg of H, meets the protein requirement exactly, and costs 260 dollars. Its H use is within the 250 kg supply limit.
A feed manufacturer measures each ingredient quantity in kilograms when building a blending model. Suppliers report zinc content and purchase prices using the units below. Assume ingredient masses and zinc masses are additive, with no processing losses.
Ingredient | Zinc content (g/kg of ingredient) | Purchase price (dollars/tonne) |
|---|---|---|
A | 15 | 280 |
B | 40 | 450 |
C | 75 | 720 |
One tonne is 1000 kg. Complete the table with the coefficient multiplying each kilogram-based ingredient variable in the total zinc mass expression and the total purchase cost expression. Enter exact decimals in the stated units.
| Ingredient | Zinc coefficient (kg/kg) | Cost coefficient (dollars/kg) |
| A | ||
| B | ||
| C |
A manufacturer combines x kg of a solution containing 2% salt by mass with y kg of a solution containing 10% salt by mass. Mixing causes no losses. The total production quantity can vary, but x+y>0.
The finished solution must contain at most 6% salt by mass. Which constraint correctly represents this requirement?