Algorithm Search⌘K

Modelresearch

Nash flows over time

Also called Koch-Skutella dynamic equilibria, dynamic Wardrop equilibrium.

An equilibrium of a routing game with queues, in which particles enter over time and each takes a path that reaches the sink earliest.

A Nash flow over time is the equilibrium of a routing game in which time matters: traffic enters the network over time, edges take time to cross, and when too much traffic arrives at an edge it waits in a queue. Each tiny particle of traffic picks a path that gets it to the sink as early as possible, given the queues that the particles before it have built. The static Wardrop equilibrium of the selfish routing model has no time and no queues, only latency functions; this model replaces latency functions by queues that grow and shrink, and the main tool of Koch and Skutella (2009) describes the equilibrium by how fast arrival times change.

The machine

Network. A directed graph G=(V,E)G = (V, E) with a source ss and a sink tt. Each edge ee has a capacity ue>0u_e > 0, the largest rate at which flow can leave the edge, and a transit time τe≥0\tau_e \ge 0.

Inflow. Flow enters at ss at a constant rate r>0r > 0. Flow is a fluid of particles, and the particle that enters at time θ≥0\theta \ge 0 is called particle θ\theta. Each particle is tiny, so this is a nonatomic game: its players are the particles.

Queues. Flow that enters edge ee first passes a queue at the tail of ee, then travels for time τe\tau_e. The queue works first in, first out, and lets flow out at rate ueu_e while it is not empty. Let fe+(ξ)f^+_e(\xi) be the rate at which flow enters ee at time ξ\xi, and ze(ξ)z_e(\xi) the amount of flow in its queue. The queue grows when the inflow is more than the capacity:

ze′(ξ)={fe+(ξ)−ueif ze(ξ)>0,max⁡{fe+(ξ)−ue, 0}if ze(ξ)=0.z_e'(\xi) = \begin{cases} f^+_e(\xi) - u_e & \text{if } z_e(\xi) > 0, \\ \max\{f^+_e(\xi) - u_e,\, 0\} & \text{if } z_e(\xi) = 0. \end{cases}

A particle that enters ee at time ξ\xi waits ze(ξ)/uez_e(\xi)/u_e and leaves ee at time ξ+ze(ξ)/ue+τe\xi + z_e(\xi)/u_e + \tau_e. This is the deterministic queue of Vickrey's bottleneck model (1969).

Costs and equilibrium notion. This is a cost game. The cost of a particle is the time at which it reaches tt. For each node vv let ℓv(θ)\ell_v(\theta) be the earliest time at which particle θ\theta can reach vv, given the queues; these are the earliest arrival labels, with ℓs(θ)=θ\ell_s(\theta) = \theta. A flow over time is a Nash flow over time if almost every particle θ\theta uses a path on which it reaches each node vv of the path at time ℓv(θ)\ell_v(\theta), that is, a shortest path given the queues. A particle that picks its path at random gains nothing: a mixed best response has its support inside the set of pure best responses, which here are the current shortest paths. So the model works with pure path choices.

Existence. Nash flows over time exist. Koch and Skutella constructed them for a constant inflow rate, and Cominetti, Correa and Larre (2015) proved existence for general inflow rates and showed that the labels ℓv(θ)\ell_v(\theta) are the same in every equilibrium (theorems).

What it counts

  • The arrival time ℓt(θ)\ell_t(\theta) of each particle, and the queues on the edges over time.
  • The price of anarchy for measures with time, for example the time at which a given amount of flow has reached tt, compared with the best flow over time that sends the same amount.
  • The long-run behavior: whether queues stay bounded and the flow reaches a steady state.

Relation to other models

  • Static selfish routing. In the selfish routing model each edge has a latency function of its flow, and the equilibrium is a single flow. Here the delay on an edge is the waiting time in a queue, which depends on the whole history of the flow, not on the current flow alone.
  • Flows over time without selfishness. Ford and Fulkerson (1958) introduced flows over time and showed that a maximum flow over time can be found by a min-cost flow computation and repeated over time. Nash flows over time use the same network data, but the flow is chosen by the particles.
  • Paradoxes. The analog of Braess's paradox also occurs: adding an edge can make the arrival times later.
  • Dynamic traffic assignment. In transport research, the same kind of model is studied as dynamic user equilibrium, with the bottleneck model of Vickrey as its basic edge.

Known results in the model

Each item is a theorem unless it is marked as an open problem.

Characterization by thin flows (Koch and Skutella). Fix a particle θ\theta. An edge e=(v,w)e = (v, w) is active if it is on a shortest path, that is, ℓw(θ)=ℓv(θ)+ze/ue+τe\ell_w(\theta) = \ell_v(\theta) + z_e/u_e + \tau_e at the time ℓv(θ)\ell_v(\theta); it is resetting if it also has a positive queue then. Write xe(θ)x_e(\theta) for the amount of flow from particles 00 to θ\theta that uses ee. The derivatives ℓv′\ell'_v and xe′x'_e satisfy:

  • ℓs′=1\ell'_s = 1, and x′x' is a static ss-tt flow of value rr on the active edges;
  • for a resetting edge e=(v,w)e = (v, w), the value ρe=xe′/ue\rho_e = x'_e/u_e;
  • for an active edge without a queue, the value ρe=max⁡{ℓv′, xe′/ue}\rho_e = \max\{\ell'_v,\ x'_e/u_e\};
  • ℓw′=min⁡eρe\ell'_w = \min_e \rho_e over the active edges into ww, with ℓw′=ρe\ell'_w = \rho_e if xe′>0x'_e > 0.

A solution is a thin flow with resetting. Koch and Skutella proved that one exists on every network, with a fixed point argument (Kakutani fixed point theorem), and that a Nash flow over time is built from a sequence of phases: in each phase the active and resetting edges are fixed, the labels grow linearly, and the phase ends when a new edge becomes active or a queue runs out.

Long-term behavior (Cominetti, Correa and Olver). If rr is at most the capacity of a minimum ss-tt cut (min cut), then all queues stay bounded, and the Nash flow over time reaches a steady state in which the queues are constant. If rr is larger, some queues grow without bound.

Price of anarchy (Correa, Cristi and Oosterwijk 2019). Measure the time at which a given amount of flow has reached tt in the equilibrium, against the least such time over all flows over time. If the network designer may reduce the inflow rate, the price of anarchy is e/(e−1)≈1.582e/(e - 1) \approx 1.582, and on networks of parallel links it is 4/34/3. This extends earlier work of Bhaskar, Fleischer and Anshelevich (2011).

Open problem (Correa, Cristi and Oosterwijk, 2019; open in the journal version). The monotonicity conjecture: in a Nash flow over time, the time at which a given amount of flow has reached tt does not increase when the inflow rate rr increases. If it holds, the price of anarchy above is e/(e−1)e/(e - 1) in general, without the change of inflow. The authors proved it for special classes of networks, such as chains of parallel paths.

Example

Take two parallel edges from ss to tt, both with capacity 1. Edge 1 has transit time 1 and edge 2 has transit time 2.

Inflow rate r=3r = 3. At first only edge 1 is active. It receives flow at rate 3 and lets out flow at rate 1, so its queue is z1=2θz_1 = 2\theta and particle θ\theta arrives at ℓt(θ)=θ+2θ+1=1+3θ\ell_t(\theta) = \theta + 2\theta + 1 = 1 + 3\theta. Edge 2 offers the arrival time θ+2\theta + 2, and the two are equal at θ=1/2\theta = 1/2, when ℓt=5/2\ell_t = 5/2. From then on both edges are active, edge 1 is resetting and edge 2 has no queue. The thin flow conditions are

ℓt′=x1′andℓt′=max⁡{1, x2′},x1′+x2′=3.\ell'_t = x'_1 \quad\text{and}\quad \ell'_t = \max\{1,\ x'_2\}, \qquad x'_1 + x'_2 = 3.

If x2′≤1x'_2 \le 1, then x1′=1x'_1 = 1 and the sum is at most 2, which is impossible. So x1′=x2′=3/2x'_1 = x'_2 = 3/2 and ℓt′=3/2\ell'_t = 3/2, that is, ℓt(θ)=5/2+32(θ−1/2)\ell_t(\theta) = 5/2 + \frac{3}{2}(\theta - 1/2). Both queues grow at rate 1/21/2 forever, as the inflow 3 exceeds the cut capacity 2. To check particle θ≥1/2\theta \ge 1/2 on edge 2: the queue there is 12(θ−1/2)\frac{1}{2}(\theta - 1/2), so it arrives at θ+12(θ−1/2)+2=32θ+74\theta + \frac{1}{2}(\theta - 1/2) + 2 = \frac{3}{2}\theta + \frac{7}{4}, the same as ℓt(θ)\ell_t(\theta).

Inflow rate r=3/2r = 3/2. Edge 1 alone gives ℓt(θ)=θ+θ/2+1\ell_t(\theta) = \theta + \theta/2 + 1, which reaches θ+2\theta + 2 at θ=2\theta = 2. Then the queue on edge 1 has size 1. From then on x1′=1x'_1 = 1, so the queue stays at size 1, and x2′=1/2≤1x'_2 = 1/2 \le 1, so edge 2 never gets a queue. Both edges give the arrival time θ+2\theta + 2, and the flow is in a steady state, as the result of Cominetti, Correa and Olver says for an inflow rate below the cut capacity 2.

References

  1. Ronald Koch and Martin Skutella, Nash equilibria and the price of anarchy for flows over time, Theory of Computing Systems 49(1) (2011); SAGT 2009, the model with the deterministic queue, earliest arrival labels, the characterization of Nash flows over time by thin flows with resetting, and their construction in phases
  2. William S. Vickrey, Congestion theory and transport investment, American Economic Review 59(2) (1969), the bottleneck model with a deterministic queue
  3. Roberto Cominetti, Jose Correa and Omar Larre, Dynamic equilibria in fluid queueing networks, Operations Research 63(1) (2015), existence of dynamic equilibria for general inflow rates and uniqueness of the arrival times
  4. Roberto Cominetti, Jose Correa and Neil Olver, Long-term behavior of dynamic equilibria in fluid queuing networks, Operations Research 70(1) (2022); IPCO 2017, bounded queues and a steady state when the inflow rate is at most the capacity of a minimum cut
  5. Jose Correa, Andres Cristi and Tim Oosterwijk, On the price of anarchy for flows over time, EC 2019, 559-577; Mathematics of Operations Research, the bound e/(e - 1) when the inflow may be reduced, the value 4/3 on parallel links, and the monotonicity conjecture
  6. L. R. Ford and D. R. Fulkerson, Constructing maximal dynamic flows from static flows, Operations Research 6(3) (1958), flows over time and temporally repeated flows

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/0EEST3/text.yaml