Costs turn mismatch units into expected cost.
Underage cost
Underage cost is 6 per missing unit.
Overage cost
Overage cost is 2 per leftover unit.
Candidate quantities
The candidate order quantities are one, two, and three units.
q∈{1,2,3}
Cost meaning
Expected cost combines expected leftover units and expected missing units.
expected cost combines overage and underage