Cooperative transferable-utility games, cost sharing, and facility location #
A cooperative cost-sharing game with transferable utility (CostSharingGame A) assigns a real
cost cost S to every finite coalition S : Finset A with cost ∅ = 0 ([TV07a],
Section 1.7.2; [JM07], Section 15.1). Dual value (or surplus-sharing) cooperative
games (CooperativeGame A) assign a coalition value val S with val ∅ = 0 and correspond to
cost-sharing games via negation (CooperativeGame.toCostSharingGame,
CostSharingGame.toCooperativeGame).
This module defines:
- exact and
γ-approximate cores (CostSharingGame.InCore,CostSharingGame.InApproxCore, [JM07], Definitions 15.3 and 15.7) and balanced coalition weights (IsBalancedWeights, Definition 15.5); - the cooperative facility location game (
FacilityLocationInstance, Definition 15.1), metric instances (FacilityLocationInstance.ofMetric), and Proposition 15.10 showing that any feasible solution(α, β)to the standard facility-location dual LP satisfies the core constraints; - the concrete 3-agent, 2-facility metric instance of Example 15.2 / Example 15.4
(
example15_2), where(4, 2, 2)and(4, 1, 3)lie in the core, together with the 6-vertex (3agents,3facilities) metric instanceemptyCoreMetricFLwhose exact core is empty (γ = 1fails) while its(15 / 16)-core is nonempty and optimal, and the non-metric bipartite tableemptyCoreBipartiteFLcorresponding literally to the text of Example 15.4 (where adding a third facility at distance1toaandcwithout re-closing shortest paths leavesc({a, b, c}) = 8, whereas re-closing the metric lowersd(f₂, a)to3andc({a, b, c})to7).
Main definitions #
Cslib.GameTheory.CostSharingGame: transferable-utility cost-sharing gamec : Finset A → ℝwithc ∅ = 0.Cslib.GameTheory.CostSharingGame.IsCoreFeasible,Cslib.GameTheory.CostSharingGame.IsCoreFeasibleOn: coalitional rationality∑ j ∈ S, α j ≤ c S.Cslib.GameTheory.CostSharingGame.InCore,Cslib.GameTheory.CostSharingGame.NonemptyCore: budget-balanced core allocations ([JM07], Definition 15.3).Cslib.GameTheory.CostSharingGame.InApproxCore,Cslib.GameTheory.CostSharingGame.NonemptyApproxCore:γ-approximate core allocations ([JM07], Definition 15.7).Cslib.GameTheory.CostSharingGame.IsSubadditive,Cslib.GameTheory.CostSharingGame.IsNonneg: disjoint subadditivity and nonnegativity of coalition costs.Cslib.GameTheory.CostSharingGame.perm,Cslib.GameTheory.CostSharingGame.restrict: agent-permutation pushforward and subcoalition restriction.Cslib.GameTheory.CooperativeGame,Cslib.GameTheory.CooperativeGame.InCore,Cslib.GameTheory.CooperativeGame.NonemptyCore: dual surplus-sharing TU games and their core.Cslib.GameTheory.IsBalancedWeights: balanced weight collectionsλ : Finset A → ℝ([JM07], Definition 15.5).Cslib.GameTheory.FacilityLocationInstance,Cslib.GameTheory.FacilityLocationInstance.ofMetric,Cslib.GameTheory.FacilityLocationInstance.toCostSharingGame,Cslib.GameTheory.FacilityLocationInstance.IsDualFeasible: cooperative facility location games and their LP dual ([JM07], Definition 15.1 and (15.4)).Cslib.GameTheory.FacilityLocationInstance.example15_2,Cslib.GameTheory.FacilityLocationInstance.emptyCoreBipartiteFL,Cslib.GameTheory.FacilityLocationInstance.emptyCoreMetricFL: canonical nonempty-core and empty-core facility location instances ([JM07], Examples 15.2 and 15.4).
Main results #
Cslib.GameTheory.CostSharingGame.InApproxCore.mul_le_sum_balanced,Cslib.GameTheory.CostSharingGame.InCore.le_sum_balanced: weak LP duality for balanced weights.Cslib.GameTheory.CooperativeGame.inCore_toCostSharingGame_iff,Cslib.GameTheory.CooperativeGame.nonemptyCore_toCostSharingGame_iff,Cslib.GameTheory.CostSharingGame.inCore_toCooperativeGame_iff,Cslib.GameTheory.CostSharingGame.nonemptyCore_toCooperativeGame_iff: exact core duality between surplus-sharing and cost-sharing TU games.Cslib.GameTheory.FacilityLocationInstance.toCostSharingGame_isSubadditive: facility location cost functions are subadditive.Cslib.GameTheory.FacilityLocationInstance.IsDualFeasible.isCoreFeasible: Proposition 15.10 of [JM07] — dual-LP feasible solutions satisfy all core inequalities.Cslib.GameTheory.FacilityLocationInstance.example15_2_cost,Cslib.GameTheory.FacilityLocationInstance.example15_2_inCore_four_two_two,Cslib.GameTheory.FacilityLocationInstance.example15_2_inCore_four_one_three: Examples 15.2 and 15.4 of [JM07].Cslib.GameTheory.FacilityLocationInstance.emptyCoreMetricFL_cost_univ,Cslib.GameTheory.FacilityLocationInstance.emptyCoreMetricFL_not_nonemptyCore,Cslib.GameTheory.FacilityLocationInstance.emptyCoreMetricFL_inApproxCore,Cslib.GameTheory.FacilityLocationInstance.emptyCoreMetricFL_not_nonemptyApproxCore_of_gt,Cslib.GameTheory.FacilityLocationInstance.emptyCoreBipartiteFL_cost_univ,Cslib.GameTheory.FacilityLocationInstance.emptyCoreBipartiteFL_not_nonemptyCore,Cslib.GameTheory.FacilityLocationInstance.emptyCoreBipartiteFL_not_nonemptyApproxCore_of_gt,Cslib.GameTheory.FacilityLocationInstance.emptyCoreBipartiteFL_inApproxCore: empty exact core (γ = 1) and tight(15 / 16)-approximate core for facility location.
References #
Cost-sharing games and core concepts #
Pushforward of a cost-sharing game along a permutation π of the agents: a coalition S of
renamed agents pays the cost of its preimage S.map π.symm.toEmbedding ([JM07],
Definition 15.25).
Restriction of a cost-sharing game to a finite subcoalition T : Finset A, viewed as a game on
the subtype {x // x ∈ T}.
All coalition costs are nonnegative (c : 2^A → ℝ₊ ∪ {0}, [JM07], Section 15.3).
Disjoint subadditivity: c(S₁ ∪ S₂) ≤ c(S₁) + c(S₂) for all disjoint coalitions S₁, S₂
([JM07], Section 15.2.2, p. 389).
Coalitional rationality (LP (15.1) feasibility) restricted to subcoalitions of T:
∑ j ∈ S, α j ≤ G.cost S for every S ⊆ T.
Coalitional rationality (the core property, [JM07], Definition 15.3): no
coalition S pays more in total than its standalone cost G.cost S.
A cost allocation α : A → ℝ lies in the core of G ([JM07], Definition 15.3;
[TV07a], Section 1.7.2) if it is budget-balanced (∑ j, α j = G.cost univ) and
satisfies IsCoreFeasible.
G has a nonempty core if there exists an allocation in G.InCore.
A cost allocation α : A → ℝ lies in the γ-approximate core (γ-core) of G
([JM07], Definition 15.7) if it is γ-budget-balanced
(γ * G.cost univ ≤ ∑ j, α j ≤ G.cost univ) and satisfies IsCoreFeasible.
G has a nonempty γ-core if there exists an allocation in G.InApproxCore γ.
Dual surplus-sharing cooperative games #
A payoff allocation x : A → ℝ lies in the core of a value game G if it distributes
G.val univ (∑ j, x j = G.val univ) and gives every coalition S at least its standalone value
(G.val S ≤ ∑ j ∈ S, x j).
G has a nonempty core if there exists a payoff allocation in G.InCore.
Negating values turns a cooperative value game into its dual cost-sharing game ([JM07], Section 15.1, p. 386).
Negating costs turns a cost-sharing game into its dual cooperative value game.
Balanced weights and weak duality #
A weight vector w : Finset A → ℝ is a balanced collection of weights ([JM07],
Definition 15.5) if w S ≥ 0 for all S and ∑_{S : j ∈ S} w S = 1 for every agent j : A.
The trivial balanced weight collection putting weight 1 on Finset.univ and 0 elsewhere.
Weighted coalition sum identity: for any α : A → ℝ and balanced weights w,
∑ S, w S * (∑ j ∈ S, α j) = ∑ j, α j.
Weak duality for γ-approximate core allocations: if α lies in the γ-core of G, then
every balanced weight collection w satisfies γ * G.cost univ ≤ ∑ S, w S * G.cost S.
Weak duality for exact core allocations: if α lies in the core of G, then every balanced
weight collection w satisfies G.cost univ ≤ ∑ S, w S * G.cost S.
Cooperative facility location games #
An instance of the cooperative facility location game ([JM07], Definition 15.1)
consists of facility opening costs openCost : F → ℝ and agent-facility connection costs
connCost : F → A → ℝ. Metric instances are constructed via FacilityLocationInstance.ofMetric
and characterized by FacilityLocationInstance.IsMetric.
Construct a facility location instance whose connection costs come from a (pseudo)metric space
on A ⊕ F, matching [JM07], Definition 15.1 verbatim.
I is a metric facility location instance if its connection costs arise as distances
dist (inr i) (inl j) in some pseudometric space on A ⊕ F
([JM07], Definition 15.1).
Cost of serving coalition S using a nonempty set F' of open facilities:
(∑ i ∈ F', openCost i) + ∑ j ∈ S, min_{i ∈ F'} connCost i j.
Coalition cost c(S) = min_{∅ ≠ F' ⊆ F} (∑_{i ∈ F'} f_i + ∑_{j ∈ S} min_{i ∈ F'} d_{ij}) for
S nonempty, and 0 for S = ∅ (opening no facilities serves the empty set of clients at cost
0, [JM07], Definition 15.1).
Cooperative facility location games have subadditive cost functions ([JM07],
Section 15.2.2): opening F₁ ∪ F₂ serves S₁ ∪ S₂ at cost at most c(S₁) + c(S₂).
Feasibility for the standard facility location dual LP (15.4) ([JM07], p. 390):
α_j, β_{ij} ≥ 0, β_{ij} ≥ α_j - d_{ij}, and ∑_{j ∈ A} β_{ij} ≤ f_i.
Proposition 15.10 ([JM07], p. 390): for any feasible solution (α, β) of the
facility-location dual LP (15.4), α satisfies the core property of the facility location
game.
Canonical examples: Examples 15.2 & 15.4 and empty-core facility location #
Example 15.2 ([JM07], Figure 15.1, pp. 386–387): 3 agents {0, 1, 2}
({a, b, c}) and 2 facilities {0, 1} of opening cost 2 each, with metric distances induced by
the line/path embedding example15_2_pos.
Exact coalition cost table of Example 15.2 ([JM07], p. 387):
c({a}) = 4, c({b}) = 3, c({c}) = 3, c({a, b}) = 6, c({b, c}) = 4, c({a, c}) = 7,
c({a, b, c}) = 8.
Example 15.4 ([JM07], p. 387): the cost allocation (4, 2, 2) lies in the core
of example15_2.
Example 15.4 ([JM07], p. 388): the cost allocation (4, 1, 3) also lies in the
core of example15_2.
The 3-facility bipartite connection table described in Example 15.4 ([JM07],
pp. 388–389): adding a third facility of opening cost 3 with distance 1 to a (0) and c
(2) and distance 4 to b (1) while keeping f₁, f₂ distances unchanged (d(f₂, a) = 5).
Source note: if d is re-closed under the metric triangle inequality on A ∪ F, then
d(f₂, a) ≤ d(f₂, c) + d(f₃, c) + d(f₃, a) = 3, which lowers c({a, b, c}) from 8 to 7 (by
opening f₂ alone) and restores a nonempty core (3, 2, 2). Below we also provide
emptyCoreMetricFL, a genuine 6-vertex (3 agents, 3 facilities) metric instance with the exact
same (15 / 16) integrality gap (7.5 < 8).
Genuine 6-vertex (3 agents, 3 facilities) metric facility location instance on the
shortest-path metric of K_{3,3} \ M with opening costs 3: every pair {j, k} costs 5, the
grand coalition costs 8, the exact core (γ = 1) is empty, and the (15 / 16)-core is nonempty
and optimal.
Grand-coalition cost c(univ) = 8 for the 6-vertex metric facility location game
emptyCoreMetricFL.
For every γ > 15 / 16, the γ-core of emptyCoreMetricFL is empty.
The 6-vertex metric facility location game emptyCoreMetricFL has an empty exact core
(γ = 1 fails): pairwise balanced weights sum to at most 7.5 < 8 = c(univ).
The symmetric allocation (5 / 2, 5 / 2, 5 / 2) lies in the (15 / 16)-core of
emptyCoreMetricFL (verified via Proposition 15.10 with α_j = 5 / 2 and
β_{ij} = max(0, α_j - d_{ij}) = 3 / 2 for i ≠ j).
Grand-coalition cost c(univ) = 8 for emptyCoreBipartiteFL ([JM07],
pp. 388–389).
For every γ > 15 / 16 (7.5 / 8), the γ-core of emptyCoreBipartiteFL is empty
([JM07], p. 389).
Example 15.4 ([JM07], pp. 388–389): on the 3-facility bipartite connection table
emptyCoreBipartiteFL, the exact core is empty (7.5 < 8).
(3.5, 2.5, 1.5) lies in the (15 / 16)-core (7.5 / 8-core) of
emptyCoreBipartiteFL ([JM07], p. 389).