Marginal cost pricing and Pigouvian taxes in nonatomic routing #
In a nonatomic congestion game G, a socially optimal flow f* (G.IsOptimal f*) minimizes the
total latency G.cost f = ∑ e, edgeFlow f e * latency e (edgeFlow f e) over all feasible flows.
Whereas selfish agents evaluate each resource e by its latency c_e(x), a social planner
evaluates e by the marginal edge cost c*_e(x) = (x * c_e(x))', which equals
c_e(x) + x * c'_e(x) (Cslib.GameTheory.marginalCost) whenever c_e itself is differentiable,
where the extra term x * c'_e(x) measures the congestion externality imposed on the x units of
traffic already using e.
Following Roughgarden [Rou07], Sections 18.3.1 and 18.5.1 (originally due to Pigou, 1920, and Beckmann, McGuire and Winsten, 1956), this module proves:
- Optimality characterization and equivalence with marginal-cost Wardrop equilibria
(
IsOptimal.isWardrop_of_hasDerivWithinAt_mul,isOptimal_iff_isWardrop_of_hasDerivWithinAt_mul, [Rou07], Proposition 18.9 and Corollary 18.10): when each edge cost contributionx ↦ x * latency e xis convex on[0, ∞)and has derivativemc ewithin[0, ∞), a flowf*is socially optimal forGif and only iff*is a Wardrop equilibrium ofG.withLatency mc(equivalently, unfoldingIsWardrop,f*is feasible and every flow-carrying path minimizes∑ e ∈ resources p, mc e (edgeFlow f* e)within its commodity). Formulating the equivalence directly on(x * latency e x)'admits latencies such asc_e(x) = √xwherex * √x = x ^ (3 / 2)is convex and differentiable at0even thoughc_eitself is not, including when an optimal flow leaves an edge unused (edgeFlow f* e = 0). - Product-rule specialization for differentiable latencies
(
hasDerivWithinAt_mul_marginalCost,IsOptimal.isWardrop_withMarginalCost_within,isOptimal_iff_isWardrop_withMarginalCost): whenlatency eitself has derivativec' ewithin[0, ∞), the product rule yields(x * c_e(x))' = c_e(x) + x * c'_e(x), specializing the equivalence toG.withMarginalCost c'. - Pigouvian marginal-cost taxes (
IsOptimal.isWardrop_withTaxes_pigouvianTax,pigouvianTax_nonneg,IsOptimal.cost_eq_of_isWardrop_withTaxes, [Rou07], Theorem 18.27): levying the constant per-unit taxτ_e = edgeFlow f* e * c'_e(edgeFlow f* e)on each edgeemakes any optimal flowf*a Wardrop equilibrium of the taxed networkG.withTaxes τ((G, r, c + τ)), without even requiring convexity ofx ↦ x * c_e(x)(as noted after Theorem 18.27 in [Rou07], p. 478). Moreover, whenc_eis nondecreasing on[0, ∞), the taxes are nonnegative (τ_e ≥ 0), and every Wardrop equilibrium of the taxed network has the exact same total cost asf*onGand is therefore socially optimal forG(sincec_eis flat between any two distinct equilibrium edge flows, forcingc'_e(edgeFlow f* e) = 0and henceτ_e = 0there).
Main definitions #
Cslib.GameTheory.marginalCost: explicit marginal edge costc(x) + x * c'(x).Cslib.GameTheory.NonatomicCongestionGame.IsOptimal: socially optimal feasible flow.Cslib.GameTheory.NonatomicCongestionGame.withLatency: the game(G, r, c*)with resource latencies replaced byc*.Cslib.GameTheory.NonatomicCongestionGame.withMarginalCost: the game(G, r, c*)with edge latencies replaced bymarginalCost.Cslib.GameTheory.NonatomicCongestionGame.withTaxes: the taxed game(G, r, c + τ)with constant per-unit edge taxesτ.Cslib.GameTheory.NonatomicCongestionGame.pigouvianTax: the marginal-cost taxτ_e = edgeFlow f* e * c' e (edgeFlow f* e).
Main results #
Cslib.GameTheory.hasDerivWithinAt_mul_marginalCost: product-rule derivative ofx ↦ x * c(x).Cslib.GameTheory.NonatomicCongestionGame.exists_isOptimal: existence of optimal flows on compact feasible polytopes under continuous latencies.Cslib.GameTheory.NonatomicCongestionGame.IsOptimal.isWardrop_of_hasDerivWithinAt_mulandCslib.GameTheory.NonatomicCongestionGame.isOptimal_iff_isWardrop_of_hasDerivWithinAt_mul([Rou07], Proposition 18.9 and Corollary 18.10): characterization of socially optimal flows as Wardrop equilibria under the edge-cost derivative(x * c_e(x))', together with the product-rule specializationsCslib.GameTheory.NonatomicCongestionGame.IsOptimal.isWardrop_withMarginalCost_withinandCslib.GameTheory.NonatomicCongestionGame.isOptimal_iff_isWardrop_withMarginalCost.Cslib.GameTheory.NonatomicCongestionGame.pigouvianTax_nonneg,Cslib.GameTheory.NonatomicCongestionGame.IsOptimal.isWardrop_withTaxes_pigouvianTaxandCslib.GameTheory.NonatomicCongestionGame.IsOptimal.cost_eq_of_isWardrop_withTaxes([Rou07], Theorem 18.27): Pigouvian taxes induce optimal flows as Wardrop equilibria.
References #
Product-rule derivative of y ↦ y * c y within a set s.
A flow f is socially optimal for G if it is feasible and minimizes G.cost over all
feasible flows ([Rou07], Section 18.2.1, p. 463).
If resource latencies are continuous on [0, ∞) and a feasible flow exists, then G admits a
socially optimal flow.
The nonatomic congestion game (G, r, c*) obtained by replacing the resource latencies of G
by c* ([Rou07], Section 18.3.1, Corollary 18.10).
The nonatomic congestion game (G, r, c*) obtained by replacing each edge latency latency e
by its marginal cost marginalCost (latency e) (c' e)
([Rou07], Section 18.3.1).
The taxed nonatomic congestion game (G, r, c + τ) obtained by adding a per-unit edge tax
τ e to each resource e ([Rou07], Section 18.5.1).
The Pigouvian marginal-cost tax τ_e = edgeFlow f e * c' e (edgeFlow f e) associated with
a flow f and latency derivatives c'
([Rou07], Section 18.5.1, Theorem 18.27).
Expresses G.withMarginalCost c' in terms of G.withLatency.
Expresses G.withTaxes τ in terms of G.withLatency.
At the flow f that defines the Pigouvian taxes, the taxed network
G.withTaxes (G.pigouvianTax c' f) and the marginal-cost network G.withMarginalCost c' assign
identical path latencies to every path.
A flow f is a Wardrop equilibrium of G.withTaxes (G.pigouvianTax c' f) if and only if it is
a Wardrop equilibrium of G.withMarginalCost c'.
First-order necessary condition for social optimality ([Rou07],
Proposition 18.9, forward direction): if f is optimal for G and each edge cost contribution
y ↦ y * G.latency e y has derivative mc e (edgeFlow f e) within [0, ∞) at edgeFlow f e,
then f is a Wardrop equilibrium of G.withLatency mc. Neither convexity of
y ↦ y * G.latency e y nor differentiability of G.latency e itself is required.
Characterization of optimal flows and equivalence with marginal-cost Wardrop equilibria
([Rou07], Proposition 18.9 and Corollary 18.10, pp. 468–469): when each edge cost
contribution x ↦ x * latency e x is convex on [0, ∞) and has derivative mc e within [0, ∞),
a flow f is socially optimal for G if and only if f is a Wardrop equilibrium of
G.withLatency mc (equivalently, unfolding IsWardrop, f is feasible and every flow-carrying
path minimizes the marginal path cost ∑ e ∈ resources p, mc e (edgeFlow f e) within its
commodity).
Because differentiability is assumed only on the product x ↦ x * latency e x (rather than on
latency e itself), this admits latencies such as c_e(x) = √x where x * √x = x ^ (3 / 2) is
convex and continuously differentiable on [0, ∞) with derivative (3 / 2) * √x even at unused
edges (edgeFlow f e = 0).
Product-rule specialization of IsOptimal.isWardrop_of_hasDerivWithinAt_mul: if f is optimal
for G and G.latency e has derivative c' e (edgeFlow f e) within [0, ∞) at edgeFlow f e,
then f is a Wardrop equilibrium of G.withMarginalCost c'. Notably, no convexity hypothesis is
required for this direction.
Product-rule specialization of isOptimal_iff_isWardrop_of_hasDerivWithinAt_mul for
differentiable latencies ([Rou07], Section 18.3.1, pp. 468–469): when
x ↦ x * latency e x is convex on [0, ∞) and latency e itself has derivative c' e within
[0, ∞), (x * c_e(x))' = c_e(x) + x * c'_e(x), so a flow f is socially optimal for G if and
only if f is a Wardrop equilibrium of G.withMarginalCost c'. For latencies such as c_e(x) = √x
whose product x * c_e(x) is differentiable at 0 while c_e itself is not, use
isOptimal_iff_isWardrop_of_hasDerivWithinAt_mul directly.
Sufficient condition under convexity for differentiable latencies: if x ↦ x * latency e x is
convex on [0, ∞) and f is a Wardrop equilibrium of G.withMarginalCost c', then f is socially
optimal for G.
Theorem 18.27: Pigouvian marginal-cost taxes #
When resource latencies are nondecreasing on [0, ∞), the Pigouvian marginal-cost tax
τ_e = edgeFlow f e * c' e (edgeFlow f e) of any nonnegative flow f is nonnegative.
Pigouvian marginal-cost taxes induce optimal flows as Wardrop equilibria
([Rou07], Theorem 18.27 and subsequent remark, p. 478): if f* is socially
optimal for G and G.latency e has derivative c' e (edgeFlow f* e) within [0, ∞) at
edgeFlow f* e, then f* is a Wardrop equilibrium of the taxed network
G.withTaxes (G.pigouvianTax c' f*). No convexity assumption on x ↦ x * latency e x is needed.
When resource latencies are nondecreasing on [0, ∞) and differentiable at edgeFlow f* e,
every Wardrop equilibrium g of the Pigouvian-taxed network
G.withTaxes (G.pigouvianTax c' f*) has the same total social cost on G as the optimal flow f*
and is therefore socially optimal for G (so Pigouvian taxes reduce the price of anarchy on G to
1, including on networks with constant edges such as Pigou's and Braess's examples).