Question
A merchant needs exactly 14 identical vouchers for an event and can buy them from two exchanges at the same face value. The only difference is the execution fee.
Exchange B charges $3 for every voucher. Exchange A charges $5 initially, but if the merchant buys at least nine vouchers from A, it refunds $3 of the fee on every A voucher, including those bought before the ninth. A can supply no more than 11 vouchers; B has no limit. Buying unused extras offers no benefit.
How many vouchers should the merchant buy from each exchange, and what is the total fee? Explain why the advertised $2 net fee at A cannot simply be applied to a small A order.
Get hint
Hint 1
Let \(x\) be the number bought at A. Because the rebate applies retroactively, the cost formula changes abruptly at \(x=9\).
Check your answer
Solution
The feasible A order is the integer \(x\in\{0,1,\ldots,11\}\); B supplies \(14-x\). For fewer than nine A purchases, no rebate is earned, so
\[ C(x)=5x+3(14-x)=42+2x,\qquad 0\le x\le8. \]
This is increasing: its cheapest point is \(x=0\), costing $42. At nine or more A purchases, the entire A order is repriced to a net fee of \(5-3=\$2\) each:
\[ C(x)=2x+3(14-x)=42-x,\qquad 9\le x\le11. \]
This expression decreases, so its cheapest feasible point is \(x=11\), costing \(22+9=\$31\). Comparing the best of the two regions gives \(\$31<\$42\); the optimal split is 11 from A and 3 from B. In particular, \(C(8)=\$58\), while \(C(9)=\$33\): the ninth purchase triggers refunds on the preceding eight as well. The marginal effect of crossing the tier is therefore not merely the $2 average fee of a rebated fill.
This exhausts all possible integer splits, including the rebate discontinuity and A's supply limit.
Assumptions
The 14 vouchers are interchangeable, so only venue quantities and fees matter.
Execution fees are the only costs being minimized; face values are identical.
The A rebate is all-or-nothing at nine A purchases and applies retroactively.
A can supply at most 11 vouchers, and no extra voucher has value.
Final Answer
Buy 11 from A and 3 from B, paying \(\$31\) in total fees.