Modelcore
Selfish routing model
Also called nonatomic routing game, nonatomic selfish routing.
A directed network with a continuous nondecreasing latency on each edge and a continuum of travelers per commodity, each of whom picks a path of least latency.
The selfish routing model is a game in which a large population of travelers each choose a path through a directed network, and the delay of each edge grows with the traffic on it. Each traveler is so small that a single change of path does not change any delay, so the traffic is a continuous flow and the players are nonatomic. Its equilibria are the Wardrop equilibria, and the model is the base of the price of anarchy for networks. In the atomic congestion game each player is one unit of traffic and does change the delays; that model has other equilibria and other bounds.
The machine
The network. is a directed graph, and parallel edges are allowed. There are commodities (on this page is the number of commodities). Commodity has a source , a sink and a traffic rate . is the set of simple - paths, assumed nonempty, and .
Latencies. Each edge has a latency function . The standing assumptions are that each is continuous and nondecreasing. Some results add a condition on the class of latency functions:
- affine: with ;
- polynomial of degree at most with nonnegative coefficients;
- semiconvex: is convex (this is needed for the marginal cost form of the system optimal flow).
Flows. A flow is a vector with and for each commodity . The flow on edge is . The same object in edge form is a flow for each commodity that satisfies flow conservation at every vertex :
A path flow gives an edge flow by . Conversely, by flow decomposition, an edge flow splits into flows on - paths and flows around cycles. Removing the cycle parts lowers some edge flows and so raises no latency. The set of feasible path flows is a polytope, so it is convex and compact.
The players and their costs. The travelers of commodity form the interval with its length as the measure. Each traveler chooses one path in , and the choices of all travelers give the flow . A traveler on path has the cost
and wants it small. This is a cost game: costs are minimized on all pages of this group. One traveler has measure 0, so a change of path by one traveler does not change . A traveler on gains by a switch to exactly when . A flow in which no traveler gains is a Nash equilibrium of the game, called a Wardrop equilibrium: for every and every pair with , . Each traveler picks one path, so these equilibria are pure. A mixed strategy adds nothing, because a flow already describes a split of the traffic.
An instance is the triple . Example: Pigou's network has two vertices and , two parallel edges with and , and one commodity with . A flow is a pair with (Pigou's example).
What it counts
The model measures a flow by its total latency, the social cost
The two sums are equal: expand as a sum over the edges of and exchange the order of summation. divided by the total rate is the average travel time. A flow of least cost is a system optimal flow. It exists, because is continuous on the compact set of flows.
The price of anarchy of an instance is for an equilibrium . All equilibria of an instance have the same cost (Beckmann potential), so the ratio does not depend on the choice of , and the price of stability of an instance equals its price of anarchy. If , then every edge used by has latency 0 on the range , so the Beckmann potential of is 0, its least possible value. Then is an equilibrium, every equilibrium has cost 0, and the convention gives the ratio 1. For a class of instances (for example all networks with affine latencies) the price of anarchy is the supremum of the ratio over the class.
Other objectives are also studied, for example the largest latency of a used path. The results below are for the total latency.
Relation to other models
- Atomic congestion games. In an atomic congestion game there are players, each routes one unit (or a weight) on one path, and a player's change does change the edge loads. Pure equilibria exist by Rosenthal's potential, but their costs can differ, and the price of anarchy for affine costs is instead of (atomic linear congestion bound). The nonatomic model is the limit in which each player's share goes to 0.
- Nonatomic congestion games. Replace the paths of a network by arbitrary subsets of a set of resources. The potential and the Pigou bound arguments carry over without change, since they never use the graph structure.
- Potential games. The selfish routing model is a nonatomic potential game: its equilibria are the minimizers of one function, the Beckmann potential.
- Min-cost flow. With constant latencies , an equilibrium sends each commodity on shortest paths for the lengths , and it is also optimal. With semiconvex latencies the optimum is a convex cost multicommodity flow, a nonlinear form of the min-cost flow problem.
- Load balancing. Parallel links with atomic weighted jobs and the makespan as the cost give the load balancing game.
- Dynamics, leaders and tolls. Nash flows over time add travel times and queues. Stackelberg routing lets a central leader route a part of the traffic first. Marginal cost tolls change the latencies so that the optimum becomes an equilibrium.
- Traffic planning. In transportation the equilibrium is the user equilibrium of traffic assignment, and a common latency function is the Bureau of Public Roads function, a polynomial of degree 4 in the flow. In communication networks with source routing, a common latency is the M/M/1 delay of a link with capacity , which is finite only for .
Known results in the model
All results hold for any number of commodities and any directed network, with continuous nondecreasing latencies, unless the item says otherwise.
- Existence and uniqueness. An equilibrium exists, and all equilibria have the same latency on every edge, so the same cost. The equilibria are exactly the minimizers of the convex function (Beckmann, McGuire and Winsten 1956; Beckmann potential).
- Variational inequality. A feasible flow is an equilibrium if and only if for every feasible flow (Wardrop equilibrium).
- The optimum as an equilibrium. With semiconvex, continuously differentiable latencies, a flow is optimal if and only if it is an equilibrium for the marginal cost latencies (system optimal flow). Tolls equal to make the optimum an equilibrium (marginal cost tolls).
- Price of anarchy, affine latencies. At most in every network, and is reached by two parallel links (Roughgarden-Tardos bound, Pigou's example).
- Price of anarchy, any class. For any class of latency functions, the price of anarchy is at most the Pigou bound of the class, the worst ratio on two parallel links. If the class contains the constant functions, the bound is tight, so the worst network is always a two-link network. For polynomials of degree at most with nonnegative coefficients the value is , about for (Pigou bound).
- Extra capacity instead of coordination. For any continuous nondecreasing latencies, the cost of an equilibrium at rates is at most the cost of an optimal flow at rates (Roughgarden and Tardos 2002; NRTV Theorem 18.29).
- Braess's paradox. Adding an edge can raise the equilibrium cost; with affine latencies by a factor of at most (Braess's paradox). Finding the best subnetwork is hard (Braess paradox detection hardness).
- Computation. The equilibrium and the optimum are solutions of convex programs over the flow polytope. For affine latencies both are convex quadratic programs. The Frank-Wolfe method, a first-order method that solves a shortest path problem in each step, is the classical method of traffic planning for the equilibrium.
References
- J. G. Wardrop, Some theoretical aspects of road traffic research, Proceedings of the Institution of Civil Engineers 1(3) (1952), 325-362, the traffic model on a road network and the two principles of route choice (the equilibrium and the minimum of the average journey time)
- Martin Beckmann, C. B. McGuire and Christopher B. Winsten, Studies in the Economics of Transportation, Yale University Press, 1956, Part I (the network model with continuous flows, the equilibrium conditions and the convex program for them)
- Noam Nisan, Tim Roughgarden, Eva Tardos and Vijay V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 18, Tim Roughgarden, Routing games, Section 18.2.1 (nonatomic selfish routing, Definition 18.1), Section 18.3.1 (Theorem 18.8) and Section 18.4.1 (the price of anarchy)
- Tim Roughgarden, Selfish Routing and the Price of Anarchy, MIT Press, 2005, Chapter 2 (the model, flows, equilibria and Section 2.3 on the price of anarchy) and Chapter 3 (How bad is selfish routing?)
- Tim Roughgarden, Twenty Lectures on Algorithmic Game Theory, Cambridge University Press, 2016, Lecture 11 (selfish routing and the price of anarchy) and Lecture 12 (over-provisioning and atomic selfish routing)
- Larry J. LeBlanc, Edward K. Morlok and William P. Pierskalla, An efficient approach to solving the road network equilibrium traffic assignment problem, Transportation Research 9(5) (1975), 309-318, the Frank-Wolfe method applied to the convex program of the equilibrium
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag PJAWQT Edit this page History Report an error Markdown