Bounding Residence Times for Atomic Dynamic Routings: If No Later Entrant Leaves the Subnetwork First, an Agent Exits by Time r0 plus the Longest Path Length plus the Earlier Agents Still InsideResearch Paper
Motivation
In atomic dynamic routing, indivisible agents (vehicles, packets, travellers) enter a network over time and travel along fixed routes. Each road admits a limited number of agents per unit of time, so agents queue at its entrance. A basic question for traffic models, packet-switching networks and dynamic routing games is how long an agent can stay in the network, its residence time. Upper bounds on residence times are what make it possible to bound queue lengths and the price of anarchy in dynamic routing games.
Greedy packet scheduling, where an edge never idles while packets wait for it, was studied by Cidon, Kutten, Mansour and Peleg (SIAM J. Comput. 1995), who showed that cycles can make delays large, and by Mansour and Patt-Shamir (J. Algorithms 1993), who bounded delivery times when every route is a shortest path. Cao, Chen, Chen and Wang (MOR 2022) prove a bound for arbitrary routes on acyclic networks. It holds under any rule that decides which waiting agent may leave next, and agents may keep entering forever. Their Theorem 1 is the goal of this mission. The paper then uses it to show that equilibria of three dynamic routing games on series-parallel networks have bounded queues (§6).
Setting
A network is a finite directed multigraph (parallel edges allowed) that is acyclic. Every edge has unit length and unit capacity. A path is a sequence of edges, each starting where the previous one ends. is the number of edges of a longest - path.
Time is discrete, . Agents form a set , possibly infinite. At each time finitely many agents enter. Agent enters at time at his origin and follows a fixed route, a nonempty - path. The tail of each edge holds a buffer. Two rules govern the dynamics:
- (A1) an agent reaching a vertex that is not his destination enters the buffer of his next edge at once;
- (A2) at every integer time, whenever a buffer is nonempty, exactly one agent leaves it and reaches the head of the edge one time unit later; the others wait.
No rule says which agent leaves. Every choice consistent with (A2) is an admissible run. An agent exits on reaching his destination. His residence time is his exit time minus his entry time (Definition 1).
Fix a focal agent with entry time . is the subnetwork formed by all - paths. For an integer time :
- is the set of agents who enter after time and use an edge of ;
- is the set of agents who entered by time , are still inside at time , and use an edge of .
An agent exits when he reaches the head of the last edge of his route lying in .
Formalization targets
Goal: Theorem 1 (p. 7)
For every admissible run and every integer : if no agent of exits before exits , then
where is the exit time of .
Milestones (§3.2, p. 9)
When is still inside at , the proof follows tokens: imaginary markers that produces from time on, and that travel with the agents leaving buffers ((s1), (s2), p. 8). The milestones are the paper's statements about them, with :
- (p1) each agent holds at most one token, and a buffer never contains more tokens than agents;
- (p2) the agent leaving 's buffer always holds exactly one token;
- (p3) after , produces a new token only while he waits;
- Claim 1 the induction step of Lemma 1 at the vertices where token departs right after a smaller token;
- Lemma 1 token departs every vertex of its trail inside by time ;
- token exit token exits by time .
Significance
The result. The bound does not depend on the rule that selects the leaving agent, so it covers every queueing discipline at once: FIFO, global agent priorities, and the edge-priority rules of earlier dynamic routing games. With and no later entrants on , it gives Corollary 1: the residence time of is at most . Example 1 (p. 8) shows that the bound can be attained. The freedom in is what §6 uses to show that queue lengths stay bounded at equilibria of dynamic routing games on series-parallel networks.
Formalizing it. The theorem is proved on paper. No machine-checked version is known to exist, and the platform has no rule-free model of atomic dynamic routing. The mission adds that model: a run is a set of leave times constrained by (A1)–(A2), not a fixed simulation. It also adds the multi-token process and the paper's chain of statements leading to Theorem 1.
Difficulty
The obvious argument is wrong. One might reason that travels at most edges and each earlier agent delays him at most once, giving the bound at once. The paper notes (p. 7) that this intuition fails even with two agents: a single agent can delay more than times, because delays propagate through other buffers. Bounding the total therefore means tracking chains of delays across the network rather than charging each delay to one agent.
Formally, the hard parts are:
- the run is only constrained, not determined;
- the token process is defined by recursion over time, using the unique leaver of each buffer;
- (p1)–(p3) are invariants proved by induction on time;
- Lemma 1 combines induction on the token index with longest-path inequalities in an acyclic graph.
Formalization scope
-
Model.
Network V E(tail and head maps) with finiteV,Eand a hypothesisAcyclic: no nonempty closed walk. Paths are edge lists.longest v wis the supremum of path lengths in ; it is a maximum wherever it is used. -
Runs.
RunDataholds entry times, routes, origins and destinations, and leave timesleave i jin for the -th edge of 's route, numbered from .IsADRstates that:- routes are nonempty origin–destination paths;
- finitely many agents enter per time;
- nobody leaves a buffer before entering it;
- (A2) holds, as unique existence of the leaver of each nonempty buffer at each time.
Agents form an arbitrary type and may be infinitely many. An agent may never be served (leave time ), as in the paper, so the theorem also asserts that exits.
-
Derived objects. Exit times, , , and the exit time from are definitions computed from the run, never free parameters. is
Set.ncardof a set that is finite underIsADR. -
Tokens. The token milestones assume that is inside at , as §3.1 requires when starting the construction. Tokens are indexed from . A new token gets index one plus the number produced so far. Bounds with subtraction are written additively over , e.g. , which is the same inequality over the integers.
-
Ruled out. None of these is used, since each proves a different statement: a fixed tie-breaking rule (FIFO or priorities), exit times as free parameters, finitely many agents, or dropping acyclicity, which Remark 2 shows is necessary.
Contributions welcome: proofs of the token invariants, of Lemma 1, and of the goal. The network and run definitions can be reused for the paper's other results (Theorem 2 on uniform capacities, the routing games of §5–6).
Selected references
- Z. Cao, B. Chen, X. Chen, C. Wang, Bounding residence times for atomic dynamic routings, Mathematics of Operations Research, 2022 (accepted manuscript: WRAP 160244). https://doi.org/10.1287/moor.2021.1242 , https://wrap.warwick.ac.uk/160244
- Y. Mansour, B. Patt-Shamir, Greedy packet scheduling on shortest paths, Journal of Algorithms 14(3):449–465, 1993.
- I. Cidon, S. Kutten, Y. Mansour, D. Peleg, Greedy packet scheduling, SIAM Journal on Computing 24(1):148–157, 1995.
- T. Harks, B. Peis, D. Schmand, B. Tauer, L. Vargas Koch, Competitive packet routing with priority lists, ACM Transactions on Economics and Computation 6(1):4:1–4:26, 2018.