Vetta's competitive facility location game #
In the competitive facility location game ([Vet02]; [TW07],
Section 19.4.1, pp. 502–503), k service providers i : ι choose facility locations s i : S i
to serve a finite set of clients j : J. Each client j has reservation value value j (π_j)
for service, and serving j from provider i's location a : S i incurs connection cost
serviceCost j i a (c_{j, s_i}).
Under second-cheapest pricing ([TW07], p. 503), a provider i serving client j
charges the lowest connection cost available from any competing provider i' ≠ i, capped at j's
reservation value value j (secondPrice), earning profit
max 0 (secondPrice j s i - serviceCost j i (s i)) from j. Social welfare (socialWelfare) sums
the realized client-plus-provider surplus max_{x ∈ T} max(0, π_j - c_j(x)) across all clients j.
When serviceCost j i a ≤ value j (Section 19.4.1's without-loss-of-generality normalization) and
at least two providers are present, secondPrice equals min_{i' ≠ i} c_{j, s_{i'}}
(secondPrice_eq_inf') and socialWelfare equals ∑ j, (π_j - min_i c_{j, s_i})
(socialWelfare_eq_sum_sub_inf').
We prove all numbered facility-location results and facility-cost extensions of Section 19.4:
- Monotone basic utility game ([TW07], Theorem 19.18, p. 505):
toUtilityGameis a basic utility game (isBasic_toUtilityGame, henceisValid_toUtilityGame) with monotone social welfare (monotone_socialWelfare) andsocialWelfare ∅ = 0. - Potential game and price of stability
1([TW07], Theorem 19.16 and Corollary 19.17, pp. 503–504):-socialWelfare ∘ profileSetis an exact potential oftoCostGame(isExactPotential), so finite instances have pure Nash equilibria (exists_isPureNash), every welfare-maximizing profile is stable (isPureNash_of_forall_socialWelfare_le, givingPoS = 1), and better/best-response dynamics always converge (hasFIP,exists_reflTransGen_isPureNash), though suboptimal equilibria exist (exists_competitiveFacilityLocation_poa_eq_twoattainsPoA = 2on2providers and2clients). - Price of anarchy
2andO(n log(1 / ε))random best-response convergence: immediate for pure Nash, mixed Nash, and coarse correlated equilibria (socialWelfare_le_two_mul_of_isPureNash,socialWelfare_le_two_mul_expected_of_isMixedNash) and random best-response trajectories (mul_socialWelfare_le_expectedWalkValue) by instantiatingBasic.lean. - Facility opening costs ([TW07], Section 19.5.3, p. 511 and Exercise 19.17,
p. 515): subtracting installation costs
openingCost i a(withOpeningCost) preservesIsBasic(hence exact potential and pure-equilibrium existence) while breaking monotonicity; every pure Nash equilibriumsstill satisfiesV_f(o) ≤ 2 * V_f(s) + ∑ i, f(i, s i)(netWelfare_le_two_mul_add_openingCost_of_isPureNash, Exercise 19.17(b)), whereas no constant multiplicative price-of-anarchy bound holds (exists_withOpeningCost_poa_gt, Exercise 19.17(a)).
Main definitions #
Cslib.GameTheory.UtilityGame.CompetitiveFacilityLocation: competitive facility location game data (value,serviceCost).CompetitiveFacilityLocation.secondPrice,CompetitiveFacilityLocation.clientProfit,CompetitiveFacilityLocation.profit,CompetitiveFacilityLocation.clientSurplus,CompetitiveFacilityLocation.socialWelfare: second-cheapest pricing, provider profits, and set social welfare.CompetitiveFacilityLocation.toUtilityGame,CompetitiveFacilityLocation.toCostGame: embeddings as aUtilityGameandCostGame.CompetitiveFacilityLocation.withOpeningCost: facility-opening-cost extension ([TW07], Exercise 19.17).
Main results #
CompetitiveFacilityLocation.secondPrice_eq_inf',CompetitiveFacilityLocation.socialWelfare_eq_sum_sub_inf': exact agreement with Section 19.4.1'smin_{i' ≠ i} c_{j, s_{i'}}and∑ j, (π_j - min_i c_{j, s_i})formulas whenc ≤ π.CompetitiveFacilityLocation.isBasic_toUtilityGame,CompetitiveFacilityLocation.monotone_socialWelfare([TW07], Theorem 19.18): competitive facility location is a monotone basic utility game.CompetitiveFacilityLocation.isExactPotential([TW07], Theorem 19.16): social welfare is an exact potential.CompetitiveFacilityLocation.exists_isPureNash,CompetitiveFacilityLocation.isPureNash_of_forall_socialWelfare_le,CompetitiveFacilityLocation.hasFIP,CompetitiveFacilityLocation.exists_reflTransGen_isPureNash([TW07], Corollary 19.17): pure-equilibrium existence,PoS = 1, and convergence of improvement dynamics.CompetitiveFacilityLocation.socialWelfare_le_two_mul_of_isPureNash,CompetitiveFacilityLocation.exists_competitiveFacilityLocation_poa_eq_two: tight purePoA = 2(and mixed/coarse-correlated extensions).CompetitiveFacilityLocation.isBasic_withOpeningCost,CompetitiveFacilityLocation.netWelfare_le_two_mul_add_openingCost_of_isPureNash,CompetitiveFacilityLocation.exists_withOpeningCost_poa_gt([TW07], Exercise 19.17): facility opening costs preserveIsBasic, satisfyV_f(o) ≤ 2 * V_f(s) + F, and admit unbounded price of anarchy.
References #
Submodularity and min-max duality for Finset.fold max #
Competitive facility location model #
A competitive facility location game ([Vet02]; [TW07],
Section 19.4.1, pp. 502–503): service providers i : ι choose facility locations in S i to serve
clients j : J with reservation values value j (π_j) and connection costs
serviceCost j i a (c_{j, s_i}).
Second-cheapest connection price p_{ij}(s) available to client j outside provider i,
capped at client j's reservation value value j ([TW07], Section 19.4.1, p. 503).
Under Section 19.4.1's normalization serviceCost j i' a ≤ value j and at least one competing
provider i' ≠ i, secondPrice j s i is literally min_{i' ≠ i} c_{j, s_{i'}}
([TW07], p. 503).
Profit earned by provider i from client j at profile s: max 0 (p_{ij}(s) - c_{j, s_i}).
If i is the unique lowest-cost provider (with c_{j, s_i} < p_{ij}(s)), i serves j at price
p_{ij}(s); if tied (c_{j, s_i} = p_{ij}(s)) or undercut (c_{j, s_i} > p_{ij}(s)), i earns
zero regardless of tie-breaking.
Total profit α_i(s) of provider i across all clients j : J.
Social surplus generated for client j by a finite set T of opened (provider, location)
pairs: max(0, max_{x ∈ T} (π_j - c_j(x))).
Social welfare V(T) of a finite set T of opened (provider, location) pairs
([TW07], Section 19.4.3, p. 505).
Under Section 19.4.1's normalization serviceCost j i a ≤ value j and [Nonempty ι], the
social welfare of profile s equals ∑ j, (π_j - min_i c_{j, s_i}) ([TW07], p. 505).
Embedding of the competitive facility location game as a UtilityGame ([TW07],
Section 19.4.3, p. 505).
Strategic game in cost-minimization form (cost = -profit) associated to G.
Theorems 19.16, 19.17, 19.18, 19.19, and 19.20 for competitive facility location #
Social welfare in the competitive facility location game is monotone ([TW07], Theorem 19.18, p. 505).
Monotonicity of G.toUtilityGame.socialValue for module-isolated callers of UtilityGame
theorems.
Theorem 19.18 ([TW07], p. 505; [Vet02]): the competitive
facility location game is a basic (and monotone, by monotone_socialWelfare) utility game.
The competitive facility location game satisfies Vetta's valid utility game conditions.
Payoff-form unilateral deviation identity ([TW07], proof of Theorem 19.16, p. 504):
when provider i changes location to a, the change in i's profit equals the change in social
welfare V.
Theorem 19.16 ([TW07], p. 503): the competitive facility location game is an
exact potential game with social welfare V(s) as potential (-V(s) for toCostGame).
Corollary 19.17 (existence) ([TW07], p. 504): every finite nonempty competitive facility location game admits a pure Nash equilibrium.
Corollary 19.17 (efficiency stability) ([TW07], p. 504): every socially efficient outcome of the competitive facility location game is a pure Nash equilibrium.
Corollary 19.17 (price of stability 1) ([TW07], p. 504): every finite
nonempty competitive facility location game has a pure Nash equilibrium maximizing social welfare.
Corollary 19.17 (finite improvement property) ([TW07], p. 504): every finite competitive facility location game has the finite improvement property (all better-response and best-response improvement sequences terminate).
Corollary 19.17 (convergence of improvement dynamics) ([TW07], p. 504): from
any starting profile s₀, better-response dynamics reach a pure Nash equilibrium.
Price of Anarchy ≤ 2 for Competitive Facility Location ([TW07],
Theorems 19.18–19.19, p. 505; [Vet02]): every pure Nash equilibrium s achieves
at least half the social welfare of any profile o.
Mixed Nash Price of Anarchy ≤ 2 for Competitive Facility Location ([Vet02];
[TW07], Section 19.5.3, p. 511): every mixed Nash equilibrium p achieves expected
social welfare at least half of any pure profile o.
Random Best-Response Convergence for Competitive Facility Location ([TW07],
Theorems 19.18 and 19.20, pp. 505–506): after t ≥ (n / 2) * log (1 / ε) random best-response
steps from any profile s₀, expected social welfare is at least (1 / 2 - ε) times optimal.
Tightness PoA = 2 on 2 providers and 2 clients #
Exact tightness of PoA ≤ 2 for competitive facility location: there is a 2-provider, 2-client
instance satisfying 0 ≤ c ≤ π with a pure Nash equilibrium s of welfare 1 and an optimal
profile o of welfare 2 = 2 * V(s).
Facility opening costs (Section 19.5.3 and Exercise 19.17) #
Competitive facility location with facility installation costs openingCost i a (f(s_i)) paid
by any provider i locating at a ([TW07], Section 19.5.3, p. 511 and Exercise 19.17,
p. 515).
Adding facility opening costs preserves IsBasic (hence IsValid, exact potential -V_f, and
pure-equilibrium existence), losing only monotonicity of socialValue.
Exercise 19.17(b) ([TW07], p. 515): at any pure Nash equilibrium s of the
facility location game with opening costs f, the net social welfare of any profile o is at most
2 * V_f(s) + F, where F = ∑ i, f(i, s i) is the total facility opening cost paid at s.
Exercise 19.17(a) ([TW07], p. 515): when facilities have nonnegative opening
costs, no constant price-of-anarchy bound holds — for every C : ℝ, there is a 2-provider,
1-client competitive facility location instance (with 0 ≤ c ≤ π and 0 ≤ f) admitting a pure Nash
equilibrium s of positive net social welfare and a profile o with C * V_f(s) < V_f(o).