Juan VIDAL-PUGA Eric BAHEL María GÓMEZ-RÚA�Universidade de Vigo Virginia Tech Universidade de Vigo �13 JULY 2023
Stability in shortest path problems
(old title)
ADVANCED ANALYTICS FOR A BETTER WORLD
Juan VIDAL-PUGA Eric BAHEL María GÓMEZ-RÚA�Universidade de Vigo Virginia Tech Universidade de Vigo �13 JULY 2023
Stable and weakly additive cost sharing in shortest path problems
Formerly Stability in shortest path problems
ADVANCED ANALYTICS FOR A BETTER WORLD
Outline
Motivation
Motivation
cost)
The model
A Shortest Path Problem (SPP) is a tuple P = (N, c, x), where:
The set of SPP will be denoted as ℙ.
Since x and c depend on N, we can denote a SPP as P = (c, x).
The model
A Shortest Path Problem (SPP) is a tuple P = (N, c, x), where:
Note that:
The model
Given i ∈ N, a path (of length K) to agent i is a sequence p ≡ (pk)k=0,....,K such that:
Note that all paths p originate from the source 0 and cross each node pk only once.
We denote as Pi the set containing all paths to agent i.
Given P = (c, x), for any path p (of length K) to agent i,
c(p) ≡ ∑k=1,...,Kc(pk−1, pk)
Thus, c(p) is the cost of shipping one unit from the source to agent i via path p.
For any i∈N, we call shortest path to agent i to any path p̄i ∈ Pi that solves the problem
min{c(p) : p∈Pi}.
The model
We define the cost of any nonempty coalition S ⊆ N as:
CP(S) ≡ min{∑j∈S xj c(pj) : pj ∈ Pj and [pj] ⊆ S, ∀j ∈ S}
where [p] denote the set of agents in the range of p, that is:
[p] ≡ {i ∈ N : pk = i for some k = 1,... , K}.
CP(S) is the lowest possible cost of shipping (from the source) the respective
demands of the members of S when using only the connections available in S.
In particular, CP(S) = 0 whenever xS = 0 (there is no demand to ship).
We also adopt the usual convention that CP(∅) = 0.
The model
A cost sharing rule is a mechanism which, for any given problem P, allows to divide
between agents the total cost CP(N) of satisfying their respective demands and assuring efficiency.
Note that we allow for negative cost shares.
Core selection
Given a shortest path problem P = (c, x), the core of P is the set
Core(P) ≡ {y ∈ ℝN : ∑i∈N yi = CP(N), ∑i∈S yi ≤ CP(S), ∀S ⊊ N}.
The selected cost allocation should not allow any subgroup of players to profitably defect from the grand coalition (in other words, using only the connections available to the players in this subgroup to fulfill their demands should result in a higher cost than the join cost share of the subgroup).
Another basic properties
For every j ∈ N, denote by ej ∈ ℝN the vector of demands characterized by ejj = 1
and eji = 0, if i ∈ N\{j}.
We call the SPP (c, ej) an elementary SPP.
• A cost sharing rule y satisfies Demand Additivity if y(P) = ∑j∈N xj y(c, ej) for all (c, x) ∈ ℙ.
This property allows to extend a cost allocation rule from elementary problems (where only one agent demands a single unit, which is typically shipped via intermediaries) to general problems (where each agent has an arbitrary demand).
Another basic properties
Given a bijection σ: N → N and given P = (c, x), P′ = (c′, x′) ∈ ℙ, we say that P′ is σ-equivalent to P if it holds that:
(a) x′i = xσ(i) for all i ∈ N, and
(b) c′(i, j) = c(σ(i), σ(j)) for all i,j ∈ N and c′(0, i) = c(0, σ(i)) for all i ∈ N.
• A cost sharing rule y satisfies Anonymity if, for all bijection σ: N⟶N and all P, P′ ∈ ℙ such that P′ is σ-equivalent to P, yi(P′) = yσ(i)(P) for all i ∈ N.
Given two problems that are identical up to a permutation σ of the players’ labels, each agent i should pay the same cost share in P′ as its counterpart σ(i) pays in the equivalent problem P.
Basic properties
• A cost sharing rule y satisfies Core Selection if y(P) ∈ Core(P) for all P ∈ ℙ.
• A cost sharing rule y satisfies Demand Additivity if y(P) = ∑i∈N xi y(c, ei) for all P=(c, x)∈ℙ.
• A cost sharing rule y satisfies Anonymity if, for all bijection σ: N→N and all P, P′ ∈ ℙ such that P′ is σ-equivalent to P, yi(P′) = yσ(i)(P) for all i ∈ N.
We first focus on cost sharing rules that satisfy these three properties.
We call any cost sharing rule in this family an Anonymous Demand-Additive Core Selector (ADACS)
Demander rule
Each agent pays the cost of their shortest path for each unit demanded.
ydi(c, x) = xi min{c(p) : p∈Pi}, for all (c, x)∈ℙ and i∈N.
Agents who demand zero pay nothing.
This rule is favorable to demanders.
yd = (180, 0, 80).
Demander rule
Each agent pays the cost of their shortest path for each unit demanded.
ydi(c, x) = xi min{c(p) : p∈Pi}, for all (c, x)∈ℙ and i∈N.
Agents who demand zero pay nothing.
This rule is favorable to demanders.
yd = (180, 0, 80).
Demander rule
Each agent pays the cost of their shortest path for each unit demanded.
ydi(c, x) = xi min{c(p) : p∈Pi}, for all (c, x)∈ℙ and i∈N.
Agents who demand zero pay nothing.
This rule is favorable to demanders.
yd = (180, 0, 80).
Supplier rule
For each P = (c, x) ∈ ℙ and i∈N, ysi(P) is the demand additivity CSR defined as:
where p̄j denotes (one of) the shortest path(s) to j∈N under the cost matrix c and
Pj ≡ (c, ej).
The supplier rule charges to each demander j the cost of her second shortest path,
and equally splits between all suppliers of j the excess payment thus collected.
Supplier rule. An example
Supplier rule. An example
Supplier rule. An example
Supplier rule. An example
Supplier rule. An example
Supplier rule. An example
Alexia rule
Fix a bijection π : N⟶{1,2,...,n}.
Focusing on an elementary problem (c, ej) ∈ ℙ, let p̄j be a shortest path to the demander j and let m ≡ |[p̄j] \ {j}|.
We define a particular cost allocation denoted as yπ.
In the trivial cases where m=0 or π(j) = 1, we have yπj(c, ej) = c(p̄j) and yπi(c, ej) = 0
for all i ∈ N \ {j}.
Otherwise, we write without loss of generality
{1π , . . . , mπ} ≡ {i ∈ [p̄j] \ {j} : π(i) < π(j)} ≠∅.
Alexia rule
In words, any two agents of the reduced problem have the option to connect via agent 1π after paying to it the fee yπ1π in case they find it beneficial.
Alexia rule
For each P = (c, x) ∈ ℙ, yai(P) is the demand additivity CSR defined as:
ya(c, ej) = ∑𝜋∈𝛱yπ(c, ej)/|𝛱|
where 𝛱 is the set of all bijections π : N ⟶ {1,2,...,n}.
Alexia rule. An example
Fix bijection π = [321] and agent j = 1. Let consider the elementary problem (c, e1).
Moreover 1π = 3. �We denote α0 = c(p̄1) = 60 + 20 + 10 = 90.
We define
yπ1π (c, e1) = c(p̄j) − c(pj1) = α0 − α1 ≤ 0, i.e.,
yπ1π (c, e1) is the difference between the cost of the
shortest path to agent 1 (c(p̄1)) and c(p11).
Thus, yπ3(c, e1) = 90 − 130 = −40.
Alexia rule. An example
Fix bijection π = [321] and agent j = 1. Let consider the elementary problem (c, e1).
Moreover 1π = 3. �We denote α0 = c(p̄1) = 60 + 20 + 10 = 90.
We define
yπ1π (c, e1) = c(p̄j) − c(pj1) = α0 − α1 ≤ 0, i.e.,
yπ1π (c, e1) is the difference between the cost of the
shortest path to agent 1 (c(p̄1)) and c(p11).
Thus, yπ3(c, e1) = 90 − 130 = −40.
Alexia rule. An example
Fix bijection π = [321] and agent j = 1. Let consider the elementary problem (c, e1).
Moreover 1π = 3. �We denote α0 = c(p̄1) = 60 + 20 + 10 = 90.
We define
yπ1π (c, e1) = c(p̄j) − c(pj1) = α0 − α1 ≤ 0, i.e.,
yπ1π (c, e1) is the difference between the cost of the
shortest path to agent 1 (c(p̄1)) and c(p11).
Thus, yπ3(c, e1) = 90 − 130 = −40.
Alexia rule. An example
In this case:
Alexia rule. An example
In this case:
Alexia rule. An example
In this case:
Alexia rule. An example
In this case:
Alexia rule. An example
α1 = c1(p̄1) = c1(021) = 130 (cost of the shortest path to 1 in c1); and
α2 = c1(p12) = 170 (lowest cost of the shortest cost of serving agent 1 in c1 while excluding agent 2).
We assign to agent 2π = 2,
yπ2(c, e1) = α1 − α2 = 130 − 170 = −40.
yπ1(c, e1) = c(p̄1) − yπ1π(c, e1) − yπ2π(c, e1) = 90 − (−40) − (−40) = 170.
That is to say, yπ(c, e1) = (170, −40, −40).
Alexia rule. An example
α1 = c1(p̄1) = c1(021) = 130 (cost of the shortest path to 1 in c1); and
α2 = c1(p12) = 170 (lowest cost of the shortest cost of serving agent 1 in c1 while excluding agent 2).
We assign to agent 2π = 2,
yπ2(c, e1) = α1 − α2 = 130 − 170 = −40.
yπ1(c, e1) = c(p̄1) − yπ1π(c, e1) − yπ2π(c, e1) = 90 − (−40) − (−40) = 170.
That is to say, yπ(c, e1) = (170, −40, −40).
Alexia rule. An example
α1 = c1(p̄1) = c1(021) = 130 (cost of the shortest path to 1 in c1); and
α2 = c1(p12) = 170 (lowest cost of the shortest cost of serving agent 1 in c1 while excluding agent 2).
We assign to agent 2π = 2,
yπ2(c, e1) = α1 − α2 = 130 − 170 = −40.
yπ1(c, e1) = c(p̄1) − yπ1π(c, e1) − yπ2π(c, e1) = 90 − (−40) − (−40) = 170.
That is to say, yπ(c, e1) = (170, −40, −40).
Alexia rule. An example
α1 = c1(p̄1) = c1(021) = 130 (cost of the shortest path to 1 in c1); and
α2 = c1(p12) = 170 (lowest cost of the shortest cost of serving agent 1 in c1 while excluding agent 2).
We assign to agent 2π = 2,
yπ2(c, e1) = α1 − α2 = 130 − 170 = −40.
yπ1(c, e1) = c(p̄1) − yπ1π(c, e1) − yπ2π(c, e1) = 90 − (−40) − (−40) = 170.
That is to say, yπ(c, e1) = (170, −40, −40).
Alexia rule. An example
Proceeding as before, we obtain the cost shares yπ described by the following table, for each bijection π ∈ Π and each elementary problem Pj.
Order | yπ(c, e1) | yπ(c, e2) | yπ(c, e3) |
123 | (90, 0, 0) | (0, 60, 0) | (0, −40, 120) |
132 | (90, 0, 0) | (0, 60, 0) | (0, 0, 80) |
213 | (130, −40, 0) | (0, 60, 0) | (0, −40, 120) |
231 | (170, −40, −40) | (0, 60, 0) | (0, −40, 120) |
312 | (130, 0, −40) | (0, 60, 0) | (0, 0, 80) |
321 | (170, 0, −40) | (0, 60, 0) | (0, 0, 80) |
Average | (130, −20, −20) | (0, 60, 0) | (0, −20, 0) |
That is,
ya(c, e1) = (130, −20, −20), ya(c, e3) = (0, −20, 100).
Hence, ya(P) = x1 ya(c, e1) + x3 ya(c, e3) = 2ya(c, e1) + ya(c, e3) = (260, −60, 60).
Family ADACS
Theorem
The demander rule yd is an ADACS
Theorem
The supplier rule ys is an ADACS.
Theorem
The alexia rule ya is an ADACS.
Cost additivity
We may request cost shares to be additive in the cost matrix.
However, no cost sharing rule satisfies this property.
Take for example N = {1,2} and c, c’ given by the figures. Then, for any j∈N, C(c,ej )(N) = C(c′,ej) (N) = 0 whereas C(c+c′,ej)(N) = 1.
Hence, this property is incompatible with efficiency.
Cost additivity
when (c, ej), (c′, ej) ∈ℙ are elementary problems with a common shortest path to agent j.
Theorem
If n > 2, then the demander rule yd is the unique cost sharing rule satisfying Core Selection and One-path Cost Additivity.
If instead n = 2 (say, N = {1, 2}), then a cost sharing rule y satisfies Core Selection and One-path Cost Additivity if and only if there exists a function α : ℝ+N→ [0, 1]2 such that, for all (c, x) ∈ ℙ,
y(c, x) = α1(x) · ys(c, x) + (1 − α1(x)) · yd(c, x), if c(0, 2) > c(0, 1) + c(1, 2);
y(c, x) = α2(x) · ys(c, x) + (1 − α2(x)) · yd(c, x), otherwise.
First characterization
Cost additivity
when (c, ej), (c′, ej) ∈ℙ are elementary problems with a common shortest path and a common second-shortest path to agent j.
Other properties
when (c, ej), (c′, ej) ∈ℙ are elementary problems with a common shortest path p̄j to agent j.
If the shortest path to agent j remains the same from the cost matrix c to the cost matrix c′, then all suppliers of agent j should see their cost shares change in the same way.
Other properties
when (c, ej), (c′, ej) ∈ℙ are elementary problems with |N| > 1, c(p̄jc) = c′(p̄jc′) and �min{c(pj) : pj ∈Pj\{p̄jc}} = min{c′(pj) : pj ∈Pj\{p̄jc’}}.
A demander should pay the same subsidy to its respective groups of suppliers (under c and c′) if these groups have the same added-value. In other words, what should determine the amount paid to the suppliers is the reduction in the demander’s shipping cost rather than the size or composition of the group of suppliers.
Second characterization
Theorem
An ADACS y satisfies Two-path Cost Additivity, Supplier Equal Change, and Path Independence if and only if it is a convex combination of the supplier rule and the
demander rule, that is to say, if and only if y = α·ys + (1 − α)·yd for some α ∈ [0, 1].
ADVANCED ANALYTICS FOR A BETTER WORLD