The plain model draws a vertical rise: a batch of Q appears and the level falls in a straight line to zero. Two of its assumptions are worth removing, and they turn out to change the same thing.
Definition · The economic production quantityStock is produced at a constant rate P > D while demand continues at D. The level therefore climbs at P − D for the Q/P of the cycle in which the machine runs, peaks at (1 − D/P)·Q, and then falls at D.
Average stock over the cycle is half that peak, so the holding cost is h·(1 − D/P)·Q/2. Everything else is unchanged, which means the answer is the plain economic order quantity computed with a holding rate of h·(1 − D/P).
Definition · Planned backordersShortages are permitted and cost π per unit per unit time backordered. A cycle now spends part of its time with stock on hand and part of it short by up to b, the planned backorder level.
At a fixed order quantity the cost is a quadratic in b whose minimum is at b = (1 − D/P)·Q·h/(h + π), and minimising over Q as well divides the effective holding rate by a further (h + π)/π.
So there is one formula and it has two switches. Set P to infinity and the first factor is one; set π to infinity and the second is one; do both and it is the plain economic order quantity. The panel puts all four readings in one table, each produced by the same function with different arguments, so that they are visibly one result rather than four to memorise.
K = 100, D = 1200, h = 6, P = 2400, π = 6
1 − D/P = 1/2 (h + π)/π = 2
model 1−D/P (h+π)/π Q* C*
plain EOQ (P infinite, no shortages) 1 1 200 1200
production quantity (finite P) 1/2 1 200√2 600√2
≈ 282.843 ≈ 848.528
EOQ with backorders (P infinite) 1 2 200√2 600√2
≈ 282.843 ≈ 848.528
both at once 1/2 2 400 600
The two middle rows are the same pair of numbers, and that is not a typing error. Each switch on its own multiplies the effective holding rate by 1/2 here, and the answer depends on the holding rate alone: halving it multiplies Q* by √2 and divides C* by √2. Applying both quarters the rate, so Q* doubles to 400 and C* halves to 600. A finite machine and a tolerated shortage are, on this instance, interchangeable.
On this instance Q* = 400 and C* = 600 are rational and every digit of them is exact. The two middle rows are not: 200√2 and 600√2 are irrational, and the table prints them as surds with 282.843 and 848.528 beside them, rounded to three places. Change the production rate to 12000 and the penalty to 3 and the headline pair becomes irrational too — (200/3)√30 and 120√30 — at which point the panel tags them and prints the sentence naming the rounding.
The backorder level, at a quantity you chose
The panel prints the best backorder level at the run size YOU set, not at Q*. That is deliberate. At a fixed rational Q the cost is a quadratic in b with rational coefficients, so its vertex b = (1 − D/P)·Q·h/(h + π) is a rational number and can be printed exactly. At an irrational Q* the same expression is irrational, and printing a rounded backorder level beside an exact run size would be mixing two kinds of number in one sentence.
Example · Four hundred units a run, and a hundred of them owedAt Q = 400 on the worked instance the best backorder level is (1/2)(400)(6)/12 = 100, and the cost there is 600 per unit time — which is also C*, because 400 happens to be Q* on this instance.
Move b either side and the cost rises: 99 and 101 both cost 60003/100, three hundredths more, and b = 0 — refusing to plan any shortage at all — costs 900. Refusing to be short costs half as much again as planning it, because a backordered unit is not occupying a warehouse.
Where the model refuses
Example · A machine that cannot keep upSet P = 1200 against D = 1200. The factor 1 − D/P is zero, the stock level never rises, and the panel reports that there is no cycle to optimise rather than dividing by zero and printing something.
This is a modelling statement, not an arithmetic one. A machine that cannot outpace demand does not have a run size problem; it has a capacity problem, and the answer is to raise P, not to choose Q more carefully.
Example · A shortage that costs nothingSet π = 0. Every unit backordered is free, so the cheapest policy is to hold no stock at all and owe everybody forever. There is no finite optimum, and the panel says the model has run out.
The useful reading is that π is not a nuisance parameter to leave at zero. It is the price of a promise, and a model with no price on a broken promise will always recommend breaking it.
Both refusals share a shape with the negative discriminant of the sibling lesson “The Order Quantity as a Discriminant”: the arithmetic is not failing, the model is reporting that the question has no answer as posed. Those are the most useful outputs an inventory model produces, because they are the ones a spreadsheet silently converts into a plausible number.
What is still assumed is the thing the rest of the course removes. Demand is constant and known. Everything so far — the quantity, the discount, the run, the planned shortage — has been a decision made against a rate that never varies. The remaining lessons put a probability distribution where that rate was, and the question changes from “how much” to “how much, given that you do not know”.