Dimensioning Large Call Centers III: Asymptotically Optimal Staffing in the Quality-Driven RegimeResearch Paper
Motivation
How many agents should a call center staff? Telephone call centers employ millions of people, and staffing is their largest cost, so the question is asked every half hour of every day (Gans, Koole & Mandelbaum, 2003). The classical model is the M/M/N (Erlang-C) queue: calls arrive at rate , service times are exponential with mean , and agents serve in parallel. Practitioners use the square-root safety staffing rule , which Halfin and Whitt (1981) justified in the regime where the probability of waiting stays bounded away from and .
Borst, Mandelbaum and Reiman (CWI Report PNA-R0015, 2000; published as Operations Research 52(1), 2004) asked when such a rule is actually optimal: given a staffing cost and a waiting cost, which staffing level minimizes total cost as the arrival rate grows? They identified three regimes according to how the two costs compare. This mission formalizes their third case, the quality-driven regime, in which waiting is so expensive relative to staffing that the optimal number of agents exceeds the offered load by more than any fixed multiple of its square root.
Setting
Fix a service rate . For every arrival rate a waiting-cost function assigns cost to a wait of time units; it satisfies , is strictly increasing, and is integrable on for every . A staffing cost , defined for real , is convex and strictly increasing.
For an integer the probability of waiting is the Erlang-C formula
the expected waiting cost of a delayed customer is , and the total cost per unit time is . An optimal staffing level minimizes over the integers .
Write , and for put , , and , where extends the Erlang-C formula to real . The normalized cost is , and a surrogate cost is . Rounding is measured by .
Two special functions appear. The Halfin–Whitt delay function is with the standard normal hazard rate. The Stirling-type approximation is
Asymptotic relations are limits of ratios as : means , and means .
Formalization targets
Goal: Theorem 7.1
Assume the regime is quality-driven, display (27): for every . Let minimize over . Then
The statement fixes no constants and no rate; it asserts only that rounding the surrogate optimum loses a vanishing fraction of the excess cost.
Milestones
In attack order: Lemma C.1 ( strictly convex decreasing); the identity at integer (Section 3, p. 12); Lemma 3.1 and Lemma 3.2; Corollary 3.3 (the asymptotic optimality criterion); Lemma B.1 ( strictly convex decreasing); display (15); Lemma 4.1 (Halfin and Whitt); and the first statement of Lemma 4.2, whenever .
Significance
Theorem 7.1 completes the paper's picture of optimal staffing. In the rationalized regime the square-root rule with the Halfin–Whitt function is optimal; in the efficiency-driven regime staffing barely exceeds the load; in the quality-driven regime the staffing excess outgrows and must be replaced by the Stirling-type expression . The theorem gives a one-dimensional minimization whose solution is asymptotically optimal, which turns a discrete optimization over into a smooth problem, and it marks the boundary of validity of square-root staffing.
The result is proved in the paper; it is not formalized anywhere to our knowledge. A complete development formalizes the Section 3 framework (shared with the other regimes of the same paper), the convexity of and of , the Halfin–Whitt limit for the continuous extension , and the Stirling-type asymptotics of the Erlang-C formula. Each of these is a reusable piece of queueing theory in Lean.
Difficulty
The regime theorem itself is short once the framework is in place; the weight lies in the analytic lemmas. Lemma 4.2 requires uniform asymptotics of at a staffing excess that may grow at any rate, from barely faster than a constant to faster than , where neither the central-limit picture of Halfin and Whitt nor a single Stirling expansion covers all cases. Lemma 4.1 concerns the continuous extension at non-integer server counts, whereas Halfin and Whitt's theorem is about integer ones. The natural first idea, that the goal follows from Corollary 3.3 by plugging in Lemma 4.2, does not apply directly: Lemma 4.2 only covers staffing excesses that tend to infinity, and nothing in the definition of the true optimum or the surrogate optimum says that they do.
Formalization scope
Lean represents as a positive real, and is the filter atTop on with fixed. The standing assumptions on and are the structure WaitModel; is a function argument with hypotheses ConvexOn and StrictMonoOn on . Staffing levels are natural numbers. Minimizers (, , , ) are function arguments with minimality hypotheses at every , so every statement holds for every choice among ties. Liminf and limsup relations are stated through Filter.Frequently, avoiding boundedness side conditions.
The queue itself (Poisson arrivals, waiting-time law) is not formalized: the paper's analysis and all its theorems concern the closed-form cost with the Erlang-C formula.
Conventions committed to: (i) the goal adds the hypothesis as , which the paper asserts on p. 12 to show the continuous optimum exists but which does not follow from its standing assumptions (it holds exactly when is unbounded); (ii) in the floor term is omitted when , since the cost is undefined at unstable levels; (iii) the integrability of is explicit, because a Lean integral of a non-integrable function is ; (iv) , the value of formula (11) at ; (v) display (15) is stated for , since the ratio is undefined at . The instance , , (Section 9) satisfies every hypothesis of the goal, so the goal is not vacuous; taking or at Lean default values is ruled out by these explicit domain conditions.
Only the first statement of Lemma 4.2 is a milestone: the second, under , fails as printed at . Contributions on the Erlang-C asymptotics, the normal hazard rate, and Laplace transforms of increasing functions are welcome and reusable beyond this mission.
Selected references
- S. Borst, A. Mandelbaum, M. I. Reiman, Dimensioning Large Call Centers, CWI Report PNA-R0015, 2000 (the version formalized here; every index and page cited in this mission is the report's).
- S. Borst, A. Mandelbaum, M. I. Reiman, Dimensioning Large Call Centers, Operations Research 52(1):17–34, 2004. https://doi.org/10.1287/opre.1030.0081
- S. Halfin, W. Whitt, Heavy-Traffic Limits for Queues with Many Exponential Servers, Operations Research 29(3):567–588, 1981. https://doi.org/10.1287/opre.29.3.567
- N. Gans, G. Koole, A. Mandelbaum, Telephone Call Centers: Tutorial, Review, and Research Prospects, Manufacturing & Service Operations Management 5(2):79–141, 2003. https://doi.org/10.1287/msom.5.2.79.16071