Dynamic Scheduling with Convex Delay Costs: The Generalized cμ Rule: Policies Equalizing the Indices μ_k c_k(W_k/ρ_k) Attain the Heavy-Traffic Lower Bound on Cumulative Delay CostResearch Paper
Motivation
A single server shared by several classes of jobs must decide, at every moment, which class to work on. When each class incurs a linear delay cost per unit of waiting time and needs mean service time , the classical rule (serve the waiting class with the largest ) minimizes expected cost in many settings, from the M/G/1 queue to discrete-time models (Buyukkoc, Varaiya and Walrand, Adv. Appl. Probab. 1985). Linear costs are a strong restriction: in telecommunications, manufacturing and service systems the penalty for delay often grows faster than linearly, and with convex costs the static priority order of the rule is no longer optimal.
Van Mieghem (Ann. Appl. Probab. 1995) proposed the generalized rule: with nondecreasing convex delay costs and marginal costs , serve the class with the largest index evaluated at its current delay or workload. The paper proves that, in heavy traffic, this dynamic index policy is asymptotically optimal among all scheduling policies, including policies whose scaled workloads do not converge. This mission formalizes that result and the chain of propositions it rests on.
Setting
There are job classes. In the th system, the th class- job arrives after an interarrival time and needs service . counts class- arrivals in and counts class- completions within units of server time. A policy is an allocation , where is the time in spent on class . From it come the headcount , the workload (work present in class ), the class-FIFO delay of a job arriving at , and the cumulative cost . Feasible policies are continuous, nondecreasing and work conserving.
The th system runs on and is studied at the diffusion scale: , , likewise, and . Arrival and service processes expand as and . Assumption 1 asks that these terms converge, with rates , , and that the system is in heavy traffic: , where and is the traffic intensity. Assumption 2 asks that the costs scale, , and Assumption 3 that be strictly convex and .
The scaled total workload has a policy-independent limit , with the one-dimensional reflection map. The key static problem splits a total among classes:
Formalization targets
Goal: Proposition 7
Under Assumptions 1–3, for feasible policies with
the costs and delays converge,
Milestones
Lemma 1 and Proposition 2 (jumps (33)–(34), first-order allocation (27), total workload (32), boundedness, equivalences (35)); Proposition 3 (); Proposition 4 (Little's law); Proposition 5 (converging policies); uniqueness and continuity of (§4.1); the Kuhn–Tucker characterization (46)–(50); and Proposition 6, the lower bound
Proposition 6 is what makes Proposition 7 an optimality statement; it is a separate milestone and not part of the goal.
Significance
The result. Proposition 7 identifies a simple, myopic index rule that is optimal at the diffusion scale for every time simultaneously, for arbitrary convex delay costs and nonstationary rates. It extends the rule beyond linear costs, links it to the "hug the optimal workload curve" policies of heavy-traffic control, and shows that the instantaneous allocation problem (43) is all that matters asymptotically. Later work on Brownian control of multiclass queues and on convex-cost scheduling (Mandelbaum and Stolyar 2004) builds on this.
Formalizing it. The paper's proofs are short and informal at several points, and the formalization makes these points explicit: the domain of every uniform limit, the policy class, and the reading of . No part of this paper has a machine-checked proof. A completed mission would give a verified heavy-traffic analysis of a multiclass single-server queue at the sample-path level, the first on the platform with a deterministic diffusion scaling and an explicit reflection map.
Difficulty
The obvious route is to show that converges and then pass to the limit in the cost. That fails for the lower bound: Proposition 6 must cover policies whose class workloads never converge (polling-type policies), so it cannot use compactness of and must instead compare the cost of an arbitrary split of with the optimal split, locally in time. For the goal, (51) controls only the indices, so the convergence of must be extracted from (51) through the inverse marginal costs, the convergence of the total workload, and the Kuhn–Tucker conditions of (43). Delay convergence then needs a uniform control of over windows of length , and cost convergence needs the convergence of the costs applied to delays of order .
Formalization scope
Lean namespace GenCMu.HeavyTraffic. The development is deterministic and works one sample path at a time; the stochastic version (Proposition 8) is not part of this mission. Conventions committed to:
- Classes are
Fin d; job indices start at ; every "→" between functions is uniform convergence ((11)), on unless stated; is written as "eventually bound ". - The scaled processes are defined exactly, with ((69), (75)); the inverse in (14) is the generalized inverse on .
- The terms of (12)–(13) are uniform in . The trends converge in , not only in . Without this, can oscillate on the scale and (33)–(34) and Proposition 3 fail. The service expansion holds on server time , so that for in heavy traffic the service times of jobs arriving before are covered.
- in (20), (36), (41), (46)–(51) is , the service rate in real time, so .
- (38) is uniform on compacts. Assumption 3's interior clause is imposed where . At no point of is interior, and the literal clause would make the goal vacuous.
- For the heavy-traffic limit and goal, feasible policies satisfy F1 (without adaptedness), F2–F4, , work conservation (used by ), and every job finishes. Proposition 6 uses a broader cost-admissible class that permits idleness with work waiting. Class-FIFO is built into the delay (9).
- The delays of jobs arriving near the horizon depend on post-horizon service. We require the allocation on every bounded diffusion-scale window after to advance at the first-order rates . This explicit boundary hypothesis keeps Propositions 2, 4, 5, and 7 on the paper's full .
- Lemma 1 additionally assumes a common Lipschitz bound on the first-order partial-sum trends. Uniform convergence alone permits jumps of order ; the bound repairs that omission. Uniqueness of the solution of (43) is stated under strict convexity: "convex increasing" (p. 820) does not give it. (35) is stated without the implication from back to , which fails in the uniform topology.
- integrates the optimal value of (43), so Proposition 6 needs no choice of minimizer.
A trivializing formalization is ruled out: no theorem assumes the convergence of or , the uniqueness of minimizers, or the lower bound, and the joint satisfiability of all hypotheses has been checked in Lean for .
Needed infrastructure: sample-path reflection-map estimates, counting/partial-sum inversion with uniform errors, parametric convex optimization (Berge's theorem for (43)), and Riemann-sum arguments for the lower bound. The reflection-map and inversion lemmas are reusable beyond this mission. Contributions to any milestone are welcome. The definitions are frozen, so a proof that needs a different definition should be raised in the discussion.
Selected references
- J. A. Van Mieghem, Dynamic Scheduling with Convex Delay Costs: The Generalized cμ Rule, Ann. Appl. Probab. 5(3) (1995) 809–833. https://doi.org/10.1214/aoap/1177004706
- C. Buyukkoc, P. Varaiya, J. Walrand, The cμ rule revisited, Adv. Appl. Probab. 17 (1985) 237–238.
- J. M. Harrison, Brownian Motion and Stochastic Flow Systems, Wiley, 1985 (reflection map).
- D. L. Iglehart, W. Whitt, Multiple channel queues in heavy traffic. I, Adv. Appl. Probab. 2 (1970) 150–177.
- A. Mandelbaum, A. L. Stolyar, Scheduling flexible servers with convex delay costs: heavy-traffic optimality of the generalized cμ-rule, Oper. Res. 52(6) (2004) 836–855. https://doi.org/10.1287/opre.1040.0156