10. Newsvendor Model
The newsvendor (or newsboy) model answers a single-period question: how much should I produce or order before demand is known, when you cannot replenish during the selling period and leftover units are costly?
Classic stories include daily newspapers, fashion seasons, event catering, and bakery items baked overnight. This lesson builds the model from a discrete muffin shop example, then generalizes overage and underage costs, expected profit, and the critical ratio for continuous and discrete demand.
Original teaching rewrite for this course; probability tables and numeric drills are constructed for practice, not copied from a commercial textbook.
One-period bakery: chocolate muffins
Every evening you choose how many chocolate muffins to bake for tomorrow. Baking takes too long to react to same-day demand. From history you estimate discrete daily demand (integer units only):
| 0 | 2 | 4 | 6 | 8 | 10 | |
|---|---|---|---|---|---|---|
| 0.40 | 0.20 | 0.20 | 0.10 | 0.05 | 0.05 | |
| 0.40 | 0.60 | 0.80 | 0.90 | 0.95 | 1.00 |
Notation:
- — probability mass function (PMF): .
- — cumulative distribution function (CDF) for discrete (same role as for continuous demand).
Economics for one day:
- Unit cost (bake)
- Selling price
- Unsold muffins are cleared at salvage value (discounted end-of-day price)
Salvage value is whatever you recover (or pay) when clearing leftover inventory—discounted sale, supplier buyback, or disposal cost.
Profit for one demand outcome
Let be the bake quantity and the realized demand. Sales are ; leftovers are .
Revenue from sales plus salvage on excess, minus full production cost for units.
Expected profit by
For candidate quantities , expected profits are about 4, 6, 6, 5, 3.5 currency units. and tie for the maximum (6); is the smallest maximizer among that grid. A full profit table by is the same idea as a spreadsheet SUMPRODUCT over rows of demand.
When is this a newsvendor problem?
Four structural conditions:
- The order (or production run) is placed before the season or selling day.
- No replenishment during the season.
- Overage cost if you prepare too much.
- Underage cost if you prepare too little (lost sales, penalties, or goodwill).
Examples: seasonal apparel, calendars, champagne for an event, and—at a higher level—safety stock over one replenishment cycle when the “season” is the time until the next order.
Overage and underage unit costs
Split mismatches into two unit costs (positive numbers when they represent a cost):
| Meaning | Typical muffin/cookie form | |
|---|---|---|
| Overage | Cost of one unit left at period end | when unsold units are salvaged (not held to next period) |
| Underage | Cost of one lost sale (profit + penalties) | ; goodwill/penalty optional |
If leftover units can be held to the next period at holding cost , use instead of full write-off.
When the model minimizes cost, include lost profit in . When it maximizes profit as in above, do not double-count opportunity cost inside .
For the muffins: , (no goodwill).
Expected sales, excess, and shortage
For each :
| Outcome | Discrete expectation in | |
|---|---|---|
| Sales | ||
| Excess units | ||
| Units short |
General profit decomposition (penalty/goodwill in only when using the cost form):
Summing over gives in terms of alone.
Critical ratio and optimal order quantity
Define the critical ratio (target cycle service level at optimum):
Continuous demand
For continuous demand with CDF , marginal balance on the -th unit gives:
Cookie sketch (Normal): , , no salvage → , , . If demand is , then —bake 17 if you round down to integer pans.
Discrete demand
Increase to while expected underage savings beat overage:
Stop at the smallest integer with
For muffins, . On the lesson PMF, , so the critical-ratio rule selects —the same smallest maximizer as the expected-profit grid ( and both earn 6 in expectation).
Cookie sketch (discrete PMF, substitute product): if each lost cookie still yields 1 in alternate margin, effective , still , . With a refined PMF on even counts, is the smallest quantity with (75% CDF), matching a full profit table.
Cost-only form
Expected cost (with including lost profit per unit short):
Minimizing is equivalent to maximizing profit when definitions align. At the optimum, total expected overage and underage costs balance—a useful Excel sanity check.
Practice
Concept check
Newsvendor structure and costs
1 / 5Which situation is NOT consistent with a standard newsvendor setup?
Pick an answer to see if you are right.
Rank the discrete newsvendor workflow
Plan a one-period quantity
1 / 1You have a discrete demand PMF and unit economics for a single selling period.
OrderDrag the handle to rearrange — top should be first.
- 1Build or verify the CDF P(D ≤ Q) from the PMF.
- 2Compute the critical ratio α* = c_u / (c_u + c_o).
- 3Estimate unit overage c_o and underage c_u (salvage, goodwill, or holding as appropriate).
- 4Choose the smallest Q with P(D ≤ Q) ≥ α*, then cross-check expected profit on a candidate grid.
- 5Confirm the decision is one-period with no in-season replenishment.
Drag items into the correct order (or use ↑↓), then check.
Code: expected profit on a quantity grid
Implement expected newsvendor profit for discrete demand. Use the profit form with salvage (same as the muffin spreadsheet). On a profit tie, return the smallest quantity among the candidates—even if the list is not sorted.
Code: discrete critical ratio
Return the smallest integer order quantity such that the discrete CDF satisfies . Treat demands and pmf as parallel lists (PMF over those support points). Search from 0 upward (you may assume some up to max(demands)+1 suffices).
Takeaways
- Newsvendor fits one-period, no-replenishment decisions with both overage and underage mismatch costs.
- Discrete demand uses a PMF and CDF; continuous demand uses a density and .
- Critical ratio sets optimal service: (continuous) or smallest with (discrete).
- Expected profit is a universal check when the PMF is custom or messy.
- Mismatch costs can include salvage revenue, holding, goodwill, or penalties—define and consistently with whether you maximize profit or minimize cost.
Previous: Distribution MEIO and Serial Simulation.
Next: Discrete Probabilistic Demand — histograms, Gaussian KDE, and a simulation-ready PMF.