Algorithm Search⌘K

Definitioncore

Wardrop equilibrium

Also called user equilibrium, Wardrop's first principle.

A flow in a nonatomic routing game in which every used path of a commodity has the least latency among its paths.

A Wardrop equilibrium is a flow in the selfish routing model in which, for each commodity, every path that carries traffic has the least latency among all paths of that commodity. It is the Nash equilibrium of a game with a continuum of travelers, where no single traveler can change the latencies. Wardrop stated it in 1952 as the first of two principles of route choice. The second principle, least total travel time, defines the system optimal flow, and the two flows differ in general (Pigou's example).

Definition

Use the notation of the selfish routing model: an instance (G,r,ℓ)(G, r, \ell) with commodities i=1,…,ki = 1, \ldots, k, path sets Pi\mathcal{P}_i, continuous nondecreasing latencies ℓe≥0\ell_e \ge 0, edge flows fef_e and path latencies ℓP(f)=∑e∈Pℓe(fe)\ell_P(f) = \sum_{e \in P} \ell_e(f_e).

Definition. A feasible flow ff is a Wardrop equilibrium if for every commodity ii and every pair of paths P,P′∈PiP, P' \in \mathcal{P}_i,

fP>0  ⟹  ℓP(f)≤ℓP′(f).f_P > 0 \implies \ell_P(f) \le \ell_{P'}(f).

Let Li(f)=min⁡P∈PiℓP(f)L_i(f) = \min_{P \in \mathcal{P}_i} \ell_P(f) be the shortest path latency of commodity ii for the lengths ℓe(fe)\ell_e(f_e). The definition says that fP>0f_P > 0 implies ℓP(f)=Li(f)\ell_P(f) = L_i(f). So all used paths of a commodity have the same latency, and unused paths have a latency at least as large. Then the cost of the flow is

C(f)=∑i=1k∑P∈PifP ℓP(f)=∑i=1kLi(f)∑P∈PifP=∑i=1kri Li(f).C(f) = \sum_{i=1}^{k} \sum_{P \in \mathcal{P}_i} f_P \, \ell_P(f) = \sum_{i=1}^{k} L_i(f) \sum_{P \in \mathcal{P}_i} f_P = \sum_{i=1}^{k} r_i \, L_i(f).

The latency is a cost that each traveler minimizes. One traveler has measure 0, so a switch from PP to P′P' leaves ff unchanged and changes the traveler's cost from ℓP(f)\ell_P(f) to ℓP′(f)\ell_{P'}(f). So the definition says exactly that no traveler gains by a switch.

Equivalent forms. For a feasible flow ff the following three statements are equivalent.

  1. ff is a Wardrop equilibrium.
  2. (Variational inequality, Smith 1979.) ∑eℓe(fe) fe≤∑eℓe(fe) ge\sum_{e} \ell_e(f_e) \, f_e \le \sum_{e} \ell_e(f_e) \, g_e for every feasible flow gg.
  3. ff minimizes the Beckmann potential Φ(g)=∑e∫0geℓe(x) dx\Phi(g) = \sum_e \int_0^{g_e} \ell_e(x)\,dx over the feasible flows (Beckmann potential proves this).

Proof of 1 if and only if 2. Fix ff and let H(g)=∑eℓe(fe)geH(g) = \sum_e \ell_e(f_e) g_e. This is the cost of gg when each edge latency is frozen at its value under ff. Expanding ge=∑P∋egPg_e = \sum_{P \ni e} g_P gives H(g)=∑PℓP(f)gPH(g) = \sum_P \ell_P(f) g_P. Each path of commodity ii has ℓP(f)≥Li(f)\ell_P(f) \ge L_i(f), so H(g)≥∑iriLi(f)H(g) \ge \sum_i r_i L_i(f) for every feasible gg. If ff is an equilibrium, H(f)=∑iriLi(f)H(f) = \sum_i r_i L_i(f), so H(f)≤H(g)H(f) \le H(g), which is statement 2. If ff is not an equilibrium, some path P∈PiP \in \mathcal{P}_i has fP>0f_P > 0 and ℓP(f)>ℓP′(f)\ell_P(f) > \ell_{P'}(f) for some P′∈PiP' \in \mathcal{P}_i. Let gg move all the flow fPf_P from PP to P′P'. Then H(g)−H(f)=fP(ℓP′(f)−ℓP(f))<0H(g) - H(f) = f_P \big(\ell_{P'}(f) - \ell_P(f)\big) < 0, and statement 2 fails. □\square

Existence and uniqueness. Every instance has a Wardrop equilibrium, and any two equilibria ff and f~\tilde f have ℓe(fe)=ℓe(f~e)\ell_e(f_e) = \ell_e(\tilde f_e) on every edge, so the same LiL_i and the same cost (Beckmann, McGuire and Winsten 1956; NRTV Theorem 18.8). If every ℓe\ell_e is strictly increasing, the edge flows are unique too. The path flows need not be unique.

How to test a flow. Compute, for each commodity, the shortest path distances di(v)d_i(v) from sis_i with the edge lengths ℓe(fe)≥0\ell_e(f_e) \ge 0, for example with Dijkstra's algorithm. In edge form, ff is an equilibrium if and only if every edge e=(u,v)e = (u, v) with fei>0f^i_e > 0 is tight for commodity ii: di(v)=di(u)+ℓe(fe)d_i(v) = d_i(u) + \ell_e(f_e). A path made of tight edges has length di(ti)d_i(t_i), and a path with a slack edge is longer, so this is the definition again. The test takes kk shortest path computations, O(k(∣E∣+∣V∣log⁡∣V∣))O(k (|E| + |V| \log |V|)) time with a binary heap, after the ∣E∣|E| latencies are evaluated.

Examples and non-examples

Pigou's network. Two parallel links from ss to tt with ℓ1(x)=1\ell_1(x) = 1 and ℓ2(x)=x\ell_2(x) = x, and rate 1. The flow (f1,f2)=(0,1)(f_1, f_2) = (0, 1) is an equilibrium: the used link has latency 1, and the other link also has latency 1. Its cost is 1. The flow (1/2,1/2)(1/2, 1/2) is not an equilibrium: link 1 carries flow at latency 1, and link 2 has latency 1/21/2. Yet (1/2,1/2)(1/2, 1/2) has the least cost, 3/43/4 (Pigou's example).

Three parallel links. Let ℓ1(x)=x\ell_1(x) = x, ℓ2(x)=x+1\ell_2(x) = x + 1, ℓ3(x)=2x+1\ell_3(x) = 2x + 1 and r=3r = 3. At an equilibrium with common latency L≥1L \ge 1 on the three links, the flows are LL, L−1L - 1 and (L−1)/2(L - 1)/2. Their sum is 3 when L=9/5L = 9/5. So the equilibrium is (9/5,4/5,2/5)(9/5, 4/5, 2/5). Each link has latency 9/59/5, and the cost is 3⋅9/5=27/53 \cdot 9/5 = 27/5. With r=1r = 1 instead, the equilibrium is (1,0,0)(1, 0, 0): links 2 and 3 are unused, and their latency 11 equals the latency of link 1. An unused path may tie with the used ones.

Braess's network with the shortcut. Vertices s,v,w,ts, v, w, t, edges s→vs \to v and w→tw \to t with latency xx, edges v→tv \to t and s→ws \to w with latency 1, the edge v→wv \to w with latency 0, and rate 1. Send all traffic on s→v→w→ts \to v \to w \to t. Then the three paths have latencies 1+0+1=21 + 0 + 1 = 2, 1+1=21 + 1 = 2 and 1+1=21 + 1 = 2. All are equal, so the flow is an equilibrium, with cost 2. It is the only one. Write a=fsva = f_{sv} and b=fwtb = f_{wt}. The path s→v→ts \to v \to t has latency a+1a + 1, the path s→w→ts \to w \to t has 1+b1 + b, and the zigzag path has a+ba + b. If s→v→ts \to v \to t carries flow at an equilibrium, then a+1≤a+ba + 1 \le a + b, so b=1b = 1, and all traffic uses w→tw \to t, which this path does not use. That is a contradiction, and the same argument applies to s→w→ts \to w \to t (Braess's paradox).

Edge latencies are unique, path flows are not. Let s→vs \to v have two parallel edges a,ba, b and v→tv \to t two parallel edges c,dc, d, all with latency xx, and rate 1. The paths are ac,ad,bc,bdac, ad, bc, bd. Every equilibrium has fa=fb=fc=fd=1/2f_a = f_b = f_c = f_d = 1/2, but both (fac,fad,fbc,fbd)=(1/2,0,0,1/2)(f_{ac}, f_{ad}, f_{bc}, f_{bd}) = (1/2, 0, 0, 1/2) and (1/4,1/4,1/4,1/4)(1/4, 1/4, 1/4, 1/4) are equilibria, each with latency 1 on every path.

A non-example: equal latencies on the used paths only. In the three-link network with r=3r = 3, the flow (2,1,0)(2, 1, 0) gives the used links 1 and 2 the same latency 2. It is not an equilibrium, because the unused link 3 has latency ℓ3(0)=1<2\ell_3(0) = 1 < 2. The test must compare the used paths with all paths of the commodity, not only with each other.

  • System optimal flow. Wardrop's second principle: the average journey time is least. It is a system optimal flow, and it is a Wardrop equilibrium for the marginal cost latencies ℓe(x)+xℓe′(x)\ell_e(x) + x \ell_e'(x) when xℓe(x)x \ell_e(x) is convex. Dafermos and Sparrow (1969) called the two flows user-optimized and system-optimized.
  • Price of anarchy. The ratio of the equilibrium cost to the optimal cost. Since all equilibria have the same cost, it is a number of the instance, and it is at most 4/34/3 for affine latencies (price of anarchy, Roughgarden-Tardos bound).
  • Approximate equilibrium. For ε≥0\varepsilon \ge 0, a flow is an ε\varepsilon-approximate equilibrium if every used path has ℓP(f)≤Li(f)+ε\ell_P(f) \le L_i(f) + \varepsilon (additive) or ℓP(f)≤(1+ε)Li(f)\ell_P(f) \le (1 + \varepsilon) L_i(f) (multiplicative). Say which one a result uses. Iterative methods and learning dynamics reach these, not exact equilibria.
  • Atomic equilibrium. In an atomic congestion game a player compares its path with other paths after its own unit moves. Pure equilibria exist there by Rosenthal's potential, but they need not have the same cost.
  • Variable demand. If the rate rir_i falls when LiL_i grows, an equilibrium also asks that rir_i equals the demand at the latency LiL_i. Beckmann, McGuire and Winsten treated this case with the same potential method.
  • Equilibria with perception errors. In stochastic route choice models of transport, travelers see the latencies with random errors, and used paths need not be shortest. These flows are not Wardrop equilibria.

References

  1. J. G. Wardrop, Some theoretical aspects of road traffic research, Proceedings of the Institution of Civil Engineers 1(3) (1952), 325-362, the first principle (equal journey times on all used routes, no larger than on any unused route) and the second principle (least average journey time)
  2. Martin Beckmann, C. B. McGuire and Christopher B. Winsten, Studies in the Economics of Transportation, Yale University Press, 1956, Part I (the equilibrium conditions of a road network and their existence and uniqueness)
  3. M. J. Smith, The existence, uniqueness and stability of traffic equilibria, Transportation Research Part B 13(4) (1979), 295-304, the variational inequality form of the equilibrium
  4. Stella C. Dafermos and Frederick T. Sparrow, The traffic assignment problem for a general network, Journal of Research of the National Bureau of Standards, Section B 73B(2) (1969), 91-118, the user-optimized and system-optimized flows on a general network
  5. Noam Nisan, Tim Roughgarden, Eva Tardos and Vijay V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 18, Tim Roughgarden, Routing games, Definition 18.1 (nonatomic equilibrium flow), Theorem 18.8 (existence and uniqueness) and Proposition 18.20 (variational inequality characterization)
  6. Tim Roughgarden, Twenty Lectures on Algorithmic Game Theory, Cambridge University Press, 2016, Lecture 11 (equilibrium flows and the variational inequality in the proof of the price of anarchy bound)

Where this leads

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/86Z2YD/text.yaml