Beckmann's potential and existence and uniqueness of Wardrop equilibria #
In a nonatomic congestion game G, a flow f is a Wardrop equilibrium (G.IsWardrop f) when it
is feasible and routes flow only along minimum-latency paths of each commodity. Following
Roughgarden [Rou07], Sections 18.3.1 and 18.4.1 (originally due to Beckmann,
McGuire and Winsten, 1956, and Smith, 1979), this module establishes:
- Variational inequality characterization (
isWardrop_iff_forall_cost_le_sum_mul_pathLatency,isWardrop_iff_variationalInequality, [Rou07], Proposition 18.20): a feasible flowfis a Wardrop equilibrium if and only if∑ e, latency e (edgeFlow f e) * edgeFlow f e ≤ ∑ e, latency e (edgeFlow f e) * edgeFlow g efor every feasible flowg. - Beckmann's potential (
beckmannPotential,isWardrop_iff_isMinOn_beckmannPotential, [Rou07], Equation (18.3) and Proposition 18.11): for continuous nondecreasing latencies on[0, ∞), a feasible flow is a Wardrop equilibrium if and only if it globally minimizesΦ(f) = ∑ e, ∫ x in 0..edgeFlow f e, latency e xover all feasible flows. - Existence and essential uniqueness (
exists_isWardrop_of_nonempty,exists_isWardrop,isWardrop_latency_eq,isWardrop_cost_eq, [Rou07], Theorem 18.8(a–b)): because the feasible flow polytope is compact (isCompact_setOf_isFeasible) andΦis continuous on nonnegative flows (continuousOn_beckmannPotential), a Wardrop equilibrium exists whenever a feasible flow exists; and for nondecreasing latencies, any two Wardrop equilibria induce identical resource latencies on every edge and therefore have identical total cost, so the price of stability equals the price of anarchy. In particular, Pigou's linear network has the unique Wardrop equilibrium, giving price of stability4/3. - Potential-function price-of-anarchy bounds (
IsWardrop.cost_le_mul_of_le_mul_integral,IsWardrop.cost_le_succ_mul_of_mem_polynomialLatencies, [Rou07], Theorem 18.16 and Corollary 18.17): ifx * c_e(x) ≤ γ * ∫_0^x c_e(y) dyon[0, ∞), the price of anarchy is at mostγ, givingd + 1for degree-dpolynomial latencies.
Main definitions #
Cslib.GameTheory.NonatomicCongestionGame.beckmannPotential: Beckmann's potential∑ e, ∫ x in 0..edgeFlow f e, latency e x.
Main results #
Cslib.GameTheory.NonatomicCongestionGame.isWardrop_iff_forall_cost_le_sum_mul_pathLatencyandCslib.GameTheory.NonatomicCongestionGame.isWardrop_iff_variationalInequality([Rou07], Proposition 18.20): both forms of the variational inequality characterization of Wardrop equilibria.Cslib.GameTheory.NonatomicCongestionGame.convex_setOf_isFeasibleandCslib.GameTheory.NonatomicCongestionGame.isCompact_setOf_isFeasible: convexity and compactness of the feasible flow polytope.Cslib.GameTheory.NonatomicCongestionGame.convexOn_beckmannPotentialandCslib.GameTheory.NonatomicCongestionGame.continuousOn_beckmannPotential: convexity and continuity of Beckmann's potential.Cslib.GameTheory.NonatomicCongestionGame.isWardrop_iff_isMinOn_beckmannPotential([Rou07], Proposition 18.11): Wardrop equilibria are the global minimizers of Beckmann's potential over feasible flows.Cslib.GameTheory.NonatomicCongestionGame.exists_isWardrop_of_nonemptyandCslib.GameTheory.NonatomicCongestionGame.exists_isWardrop([Rou07], Theorem 18.8(a)): existence of Wardrop equilibria.Cslib.GameTheory.NonatomicCongestionGame.isWardrop_latency_eq,Cslib.GameTheory.NonatomicCongestionGame.isWardrop_pathLatency_eqandCslib.GameTheory.NonatomicCongestionGame.isWardrop_cost_eq([Rou07], Theorem 18.8(b)): essential uniqueness of Wardrop equilibria.Cslib.GameTheory.NonatomicCongestionGame.pigouNetwork_id_isWardrop_iffandCslib.GameTheory.NonatomicCongestionGame.pigouNetwork_id_priceOfStability([RT07], Example 17.1): uniqueness of the Wardrop equilibrium on Pigou's linear network and its4/3price of stability.Cslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_mul_of_le_mul_integralandCslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_succ_mul_of_mem_polynomialLatencies([Rou07], Theorem 18.16 and Corollary 18.17): potential-function bounds on the price of anarchy.
References #
Nonnegative flows induce nonnegative edge flows.
edgeFlow is additive in the path flow.
edgeFlow commutes with scalar multiplication.
Every coordinate of a feasible flow is bounded by its commodity's demand rate.
Convex combinations of feasible flows are feasible.
The set of feasible flows is convex.
The feasible flow polytope {f : P → ℝ | G.IsFeasible f} is compact.
If every commodity has nonnegative demand rate and every commodity with positive demand has at least one path, then a feasible flow exists.
Proposition 18.20: variational inequality characterization #
Variational inequality characterization, path form ([Rou07],
Proposition 18.20): a flow f is a Wardrop equilibrium if and only if f is feasible and
cost f ≤ ∑ p, g p * pathLatency f p for every feasible flow g.
Variational inequality characterization, edge form ([Rou07],
Proposition 18.20): a flow f is a Wardrop equilibrium if and only if f is feasible and
∑ e, latency e (edgeFlow f e) * edgeFlow f e ≤ ∑ e, latency e (edgeFlow f e) * edgeFlow g e
for every feasible flow g.
Proposition 18.11: Beckmann's potential #
Beckmann's potential ([Rou07], Equation (18.3), originally due to
Beckmann, McGuire and Winsten, 1956): Φ(f) = ∑ e, ∫ x in 0..edgeFlow f e, latency e x.
Unfolding equation for beckmannPotential.
First-order variational inequality for a separable edge-flow objective: if f is feasible and
minimizes g ↦ ∑ e, H e (G.edgeFlow g e) over {g | G.IsFeasible g}, and each H e has
derivative d e within [0, ∞) at G.edgeFlow f e, then
∑ e, d e * G.edgeFlow f e ≤ ∑ e, d e * G.edgeFlow g e for every feasible flow g.
beckmannPotential is continuous on the set of nonnegative path flows when resource latencies
are continuous on [0, ∞).
beckmannPotential is convex on the feasible flow polytope when resource latencies are
continuous and nondecreasing on [0, ∞).
With continuous nondecreasing latencies, every Wardrop equilibrium globally minimizes Beckmann's potential over feasible flows.
With continuous latencies on [0, ∞), every global minimizer of Beckmann's potential over
feasible flows is a Wardrop equilibrium.
Beckmann's potential characterization ([Rou07], Proposition 18.11): for
continuous nondecreasing latencies on [0, ∞), a feasible flow is a Wardrop equilibrium if and
only if it globally minimizes Beckmann's potential over all feasible flows.
Theorem 18.8: existence and essential uniqueness of Wardrop equilibria #
Existence of Wardrop equilibria from nonempty feasibility ([Rou07],
Theorem 18.8(a)): if a nonatomic congestion game has continuous latencies on [0, ∞) and at least
one feasible flow, then it admits a Wardrop equilibrium.
Existence of Wardrop equilibria ([Rou07], Theorem 18.8(a)): if demand
rates are nonnegative, every commodity with nonzero demand has at least one path, and resource
latencies are continuous on [0, ∞), then a Wardrop equilibrium exists.
Essential uniqueness of Wardrop edge latencies ([Rou07],
Theorem 18.8(b)): if resource latencies are nondecreasing on [0, ∞), any two Wardrop equilibria
f and g induce the same latency on every resource e.
Any two Wardrop equilibria induce the same path latencies under nondecreasing resource latencies.
All Wardrop equilibria have equal total cost ([Rou07], Theorem 18.8(b)): in particular, the price of stability equals the price of anarchy in every nonatomic congestion game with nondecreasing latencies.
Uniqueness of the Wardrop equilibrium in Pigou's linear example
([RT07], Example 17.1): on pigouNetwork id 1, ![1, 0] is the unique Wardrop
equilibrium.
Price of stability of Pigou's linear example is 4/3 ([RT07],
Example 17.1): ![1/2, 1/2] minimizes total cost (3/4) over all feasible flows, and every
Wardrop equilibrium f of pigouNetwork id 1 has cost (4/3) * cost ![1/2, 1/2] = 1.
Theorem 18.16 and Corollary 18.17: potential-function price-of-anarchy bounds #
With continuous nondecreasing latencies on [0, ∞), Beckmann's potential is at most the flow
cost for every nonnegative flow.
Potential-function price-of-anarchy upper bound ([Rou07], Theorem 18.16;
[RT02]): if resource latencies are continuous and nondecreasing on [0, ∞) and
x * latency e x ≤ γ * ∫ y in 0..x, latency e y for all x ≥ 0 with γ ≥ 0, then every Wardrop
equilibrium costs at most γ times every feasible flow.
Potential-function bound for polynomial latencies ([Rou07],
Corollary 18.17): if every resource latency is a polynomial of degree at most d with nonnegative
coefficients, then every Wardrop equilibrium costs at most (d + 1) times every feasible flow.