Question
A shop has one type-A battery and one type-B battery in its storeroom. Tonight's customers have prepaid; any order the shop cannot fill requires a $40 service credit, while all other revenue and operating costs are unchanged by its inventory decision. Some orders request A only, some B only, and some are flexible and accept either. The shop always allocates batteries to fill as many orders as possible, serving type-specific orders before flexible orders.
Tonight has four mutually exclusive possibilities, with the stated probability and numbers of (A-only, B-only, flexible) orders:
- 30%: (1, 0, 0)
- 30%: (0, 1, 1)
- 20%: (1, 1, 1)
- 20%: (0, 0, 2)
Before demand is revealed, a dealer offers to buy one A battery from the shop or sell it one extra A battery. Ignoring any other inventory value, what is the shop's minimum sale price for its existing A battery and maximum purchase price for a second A battery?
Get hint
Hint 1
For each possible inventory, count how many orders cannot be supplied in each demand state; a flexible order can consume either remaining type.
Check your answer
Solution
Let \(U(a,b)\) be the number of unfilled orders with inventory \((a,b)\) and let \(L(a,b)=40E[U(a,b)]\) be expected service-credit cost. Because each fixed-type order can use only its requested battery and flexible orders can use leftover A or B, the allocation rule produces the following unfilled counts in the four listed demand states, in order:
Inventory (0,1): (1,1,2,1). The weighted average is \(0.30(1)+0.30(1)+0.20(2)+0.20(1)=1.20\) unfilled orders, hence \(L(0,1)=\$48\).
Inventory \((1,1):(0,0,1,0)\). The weighted average is 0.20, hence \(L(1,1)=\$8\).
Inventory \((2,1):(0,0,0,0)\). No order is missed, hence \(L(2,1)=\$0\).
Selling the existing A battery changes the inventory from \((1,1)\) to \((0,1)\) and raises expected compensation cost by \(\$48-\$8=\$40\). A sale price below $40 would leave the shop worse off, so its reservation ask is $40. Buying one extra A instead changes inventory from \((1,1)\) to \((2,1)\) and saves \(\$8-\$0=\$8\), so its reservation bid is $8. It is indifferent at the respective values. The two marginal values differ because losing the first A may strand inflexible customers, whereas a second A is useful only in the relatively rare three-order demand state. Treating A and B as independent single-product demands would miss the role of flexible customers and the other battery's inventory.
Assumptions
Service credits are $40 per unfilled order; existing prepaid revenues do not change with fulfilment.
A-only customers cannot switch to B, B-only customers cannot switch to A, and flexible customers accept either.
All four demand states are exhaustive and have the listed probabilities, summing to one.
Trading changes only the number of A batteries and occurs before evening demand is known.
Final Answer
Minimum sale price $40; maximum purchase price $8. At inventories \((A,B)=(0,1),(1,1),(2,1)\), expected service-credit costs are respectively $48,$8,$0.