Abstract
Cooperative games form an important class of problems in game theory, where a key goal is to distribute a value among a set of players who are allowed to cooperate by forming coalitions. An outcome of the game is given by an allocation vector that assigns a value share to each player. A crucial aspect of such games is submodularity (or convexity). Indeed, convex instances of cooperative games exhibit several nice properties, e.g. regarding the existence and computation of allocations realizing some of the most important solution concepts proposed in the literature. For this reason, a relevant question is whether one can give a polynomial-time characterization of submodular instances, for prominent cooperative games that are in general non-convex. In this paper, we focus on a fundamental and widely studied cooperative game, namely the spanning tree game. An efficient recognition of submodular instances of this game was not known so far, and explicitly mentioned as an open question in the literature. We here settle this open problem by giving a polynomial-time characterization of submodular spanning tree games.
Mathematics Subject Classification: 05C05 Trees, 05C57 Games on graphs (graph-theoretic aspects), 91A12 Cooperative games
Introduction
Cooperative games are among the most studied classes of problems in game theory, with plenty of applications in economics, mathematics, and computer science. In such games, a central question is how to distribute cost (or revenue) among a set of participants, usually called players, who are allowed to cooperate. Formally, we are given a set N of players, and a characteristic function , with . Here, represents the cost paid (revenue received) by the subset S of players if they choose to form a coalition. An outcome of the game is given by an allocation such that , which assigns a cost (revenue) share to each player. Of course, there are a number of criteria for evaluating how “good” an allocation is, such as stability, fairness, and so on.
Probably the most popular solution concept for cooperative games is the core. It is the set of stable outcomes where no subset of players has an incentive to form a coalition to deviate. In a cooperative cost game, this translates naturally to the following constraint: , for all . Intuitively, if this constraint is violated for some set S, the total cost currently paid by the players in S is more than the total cost they would have to pay if they form a coalition—this incentivizes these players to deviate from the current allocation. Besides the core, there are several other crucial solution concepts which have been defined in the literature, e.g. the Shapley value, the nucleolus, the kernel, the bargaining set, and the von Neumann-Morgenstern solution sets (we refer to [2] for details). Many fundamental questions involving such solution concepts have been investigated in the past few decades: Which cooperative game instances admit an allocation realizing a particular solution concept? Can we efficiently compute it? Can we test whether a given allocation belongs to such sets?
Submodularity (or convexity) is a crucial property which yields interesting answers to some of the questions above. An instance of a cooperative cost game is called submodular if the characteristic function is submodular, meaning that
| * |
Submodular games exhibit a large number of desirable properties. In particular, (1) the core is always non-empty and an allocation in the core can be computed in polynomial time [13]; (2) testing whether an allocation belongs to the core is equivalent to separating over the extended polymatroid of , which can be performed efficiently [8]; (3) computing the nucleolus can be done efficiently [10]; (4) there is a nice “snowballing” effect that arises when the game is played cooperatively, meaning that joining a coalition becomes more attractive as the coalition grows, and so the value of the so-called grand coalition is always reached [13]. We refer to [11, 13] for other interesting properties of submodular games involving other crucial solution concepts. Given these observations, it is not surprising that some researchers have investigated whether it is possible to give an efficient characterization of submodular instances, for prominent cooperative games that are in general non-convex. Such characterizations are known, for example, for the minimum coloring game and the minimum vertex cover game [12], as well as for some communication games [15].
This paper focuses on one of the most fundamental cooperative games, namely the spanning tree game. This game was introduced more than 40 years ago [1, 3], and since then it has been widely studied in the literature. To get an intuition about the problem, consider the following setting. A set N of clients would like to be connected to a central source r which can provide a service to them. The clients wish to build a network connecting them to the source r, at minimum cost. An obvious way to solve this problem is to compute a minimum spanning tree connecting . But how should the clients fairly split the cost of the tree among them? Formally, an instance of the spanning tree game is described by an edge-weighted complete graph where . The set of players is given by N, and the value of the characteristic function is equal to the cost of a minimum spanning tree in the subgraph induced by .
Despite being one of the most studied cooperative games, the existence of an efficient characterization of submodularity for the spanning tree game has remained elusive so far. Granot and Huberman [7] proved that spanning tree games are permutationally convex (which is a generalization of submodularity). Their result implies that the core is always non-empty for such games, despite being non-convex in general (this was first proven by the same authors in [6]). However, other nice properties of submodular games do not generalize: for general spanning tree games, testing core membership is coNP-hard [4], and computing the nucleolus is NP-hard [5]. Trudeau [14] gave a sufficient condition for an instance of the game to be submodular. An important step forward was made by Kobayashi and Okamoto [9], who gave a characterization of submodularity for instances of the spanning tree game where the edge weights are restricted to take only two values. For general weights, they stated some necessary (but not always sufficient) as well as some sufficient (but not always necessary) conditions for an instance to be submodular. Whether a polynomial-time characterization of submodularity exists for spanning tree games is left as an open question. In fact, they stated twice in their paper:
“We feel that recognizing a submodular minimum-cost spanning tree game is coNP-complete, but we are still far from proving such a result.”
Our results and techniques. In this paper, we finally settle this open question: we give a polynomial-time characterization of submodular spanning tree games.
Our characterization uses combinatorial techniques and it is based on two main ingredients. The first one, described in Sect. 3, is a generalization of Kobayashi and Okamoto’s result [9]. When the edges can have only two distinct weights, they proved that the only obstruction to submodularity comes from the presence of certain cycles in the graph induced by the cheaper edges. When dealing with more weight values, say , things become necessarily more complicated. We can still prove that an obstruction to submodularity is given by certain cycles, which we call violated, but (a) our definition of violated cycles is more involved than the one in [9], and (b) we have to look for such cycles not just in one induced graph, but in each graph induced by the edges of weight at most , for all .
Furthermore, the presence of violated cycles is not anymore the only obstruction to submodularity. Roughly speaking, violated cycles capture how the edges of a certain weight should relate to the cheaper ones, but we still need a condition that takes into account the “magnitude” of distinct weight values, when . This leads to the second main ingredient of our characterization, described in Sect. 4. We show that, under the assumption of not having violated cycles, we can identify polynomially many subsets of vertices which could yield the highest possible violation to the submodularity inequality (*). We can then efficiently test the submodularity of our instance by checking whether the inequality (*) is satisfied on this family of subsets of vertices. Combining these two ingredients yields a polynomial-time characterization of submodularity for spanning tree games, as described in Sect. 5.
We conclude our paper with an additional result. As previously mentioned, the authors of [9] gave a necessary condition for submodularity of the spanning tree game. They also stated that they do not know whether their condition can be verified in polynomial time. We answer this question affirmatively in Sect. 6.
Preliminaries and notation
For a subset , denote as the weight of a minimum spanning tree in G[S], where G[S] is the subgraph of G induced by S. For a subset , denote w(F) as the sum of edge weights in F, i.e. . Let H be a subgraph of G. For a vertex and an edge , the subgraphs and are defined as and . Given a vertex , is the neighborhood of u in H, while is the set of edges incident to u in H. Note that . For any positive integer k, [k] represents the set . Given a pair of vertices , let denote the family of vertex subsets which contain r but not u or v, i.e. . Define the function as
It is easy to see that the spanning tree game on G is submodular if and only if for all and . Let be the edge weights of G. For each , define the graph where . Note that . For a vertex , denote as the neighborhood of u in . For an edge , define the neighborhood of uv in as
It represents the set of vertices whose edges to u and v have weight at most . Notice that . We will also need the following graph theory terminology. A hole is an induced cycle with at least four vertices. A diamond is the complete graph minus one edge. We will refer to the vertices of degree 2 in a diamond as tips. Lastly, the following property of minimum spanning trees will be useful to us.
Lemma 1
Let T be a minimum spanning tree of G. For every subset , there exists a minimum spanning tree of G[S] which contains E(T[S]).
Proof
Let be a minimum spanning tree of G[S]. We proceed by induction on . For the base case, if , then contains all the edges in E(T[S]). For the inductive step, assume . Then, there exists an edge where . Adding e to creates a cycle C in G[S]. So there exists an edge which is not an edge of T. Pick an appropriate f such that when added to T creates a cycle containing e. Since is a spanning tree of G, we have . On the other hand, since is a spanning tree of G[S], we also have . This implies , so is a minimum spanning tree of G[S]. As , by the induction hypothesis we are done.
Violated cycles
In this section, we will prove that a submodular spanning tree game does not contain violated cycles, which will be defined later. First, we need to introduce the concept of well-covered cycles.
Definition 1
Given a cycle C and a chord , let and denote the two u-v paths in C. The cycles and are called the subcycles of C formed by f. We say that f covers C if for all or for all . If C is covered by all of its chords, then it is well-covered.
Next, we define the following two simple structures (see Fig. 1 for some examples). We then proceed to show that a submodular spanning tree game does not contain either of them.
Fig. 1.
The first two graphs are examples of bad holes, whereas the last two graphs are examples of bad induced diamonds. The tips of the diamonds are shaded. Every edge here has the same weight
Definition 2
A hole is bad if at least one of its vertices is not adjacent to r. An induced diamond is bad if its Hamiltonian cycle is well-covered but at least one of its tips is not adjacent to r.
Lemma 2
If the spanning tree game on G is submodular, then there are no (a) bad holes or (b) bad induced diamonds in for any .
The lemma will be proved via contrapositive separately for (a) and (b). Before jumping into the details, it is instructive to have an overview of the arguments, as they revolve around the same idea. The proof starts by assuming the existence of a bad hole or a bad induced diamond in for some . Then, from this bad structure, a subset of vertices and two additional vertices u, v will be identified such that they violate the submodularity inequality, i.e. .
Proof of Lemma 2(a)
Let C be a bad hole in for some . Consider the following two cases.
Case 1: C contains r. Let u, v be the vertices adjacent to r in C. Define the set . To prove that the instance is not submodular, it suffices to show that . Let P be the path obtained by deleting r, u, v from C. Let be the endpoints of P where (see Fig. 2). Note that if P is a singleton. It is easy to see that
Next, deleting the most expensive edge from C creates a minimum spanning tree of . Since this edge has weight at most , we obtain
Combining the equations and inequalities above yields
Fig. 2.
An example of the subgraph in Case 1 and Subcases 2.1–2.2 respectively. The shaded region represents the set S
Case 2: C does not contain r. We first show that if r is adjacent in to two non-adjacent vertices of C, then we are done. Since C is a bad hole in , there exists a vertex such that . Starting from t, traverse the hole C in both directions until we encounter the first vertices p and q such that respectively. Since r is adjacent to two non-adjacent vertices of C, we have and . Let Q be the p-q path in C which contains t. Then, by our choice of p and q, the cycle is a bad hole in which contains r. It follows that the instance is not submodular by Case 1.
Thus, we may assume that r can only be adjacent to adjacent vertices of C. Pick a vertex with the cheapest edge to r, i.e. for all . Let u, v be the vertices adjacent to s in C. Define the set . As with the previous case, it suffices to show that . Let P be the path obtained by deleting s, u, v from C. Let be the endpoints of P where (see Fig. 2). We are left with the following two subcases.
Subcase 2.1: r is adjacent to at most one vertex of C. Since s was chosen to be the vertex in C with the cheapest edge to r, we have
Next, deleting the most expensive edge from C and adding rs creates a minimum spanning tree of . Since the deleted edge has weight at most , we obtain
Combining the equations and inequalities above yields
Subcase 2.2: r is adjacent to two vertices of C. Since we assumed that r can only be adjacent to adjacent vertices of C, it follows that r is adjacent to s and either u or v in . Without loss of generality, suppose that . Since s was chosen to be the vertex in C with the cheapest edge to r, we have
Next, deleting the most expensive edge from the triangle does not increase the weight of a minimum spanning tree in . In fact, a minimum spanning tree can be obtained by deleting one more edge from . So,
Combining the equations and inequalities above yields
Proof of Lemma 2(b)
Let D be a bad induced diamond in for some . Consider the following two cases.
Case 1: D contains r. Observe that r is a tip of D. Let s be the other tip and u, v be the non-tip vertices of D. Define the set (see Fig. 3). To prove that the instance is not submodular, it suffices to show that . It is easy to see that
Since the Hamiltonian cycle of D is well-covered, its chord uv can be deleted without increasing the weight of a minimum spanning tree in . We are now left with the Hamiltonian cycle of D, so a minimum spanning tree can be obtained by removing the most expensive edge. This gives
Then, combining the equations and inequalities above yields
Fig. 3.
An example of the subgraph in Case 1 and Subcases 2.1–2.3 respectively. The shaded region represents the set S. For Subcase 2.1, the picture assumes that
Case 2: D does not contain r. Let s and t be the tips of D where . Note that because D is a bad induced diamond in . Let u and v be the non-tip vertices of D where . Define the set (see Fig. 3). As with the previous case, it suffices to show that . Consider the following three subcases.
Subcase 2.1: r is adjacent to at most one vertex of D. Note that . It is also easy to see that
Next, observe that we can delete uv and the most expensive edge in the Hamiltonian cycle of D without increasing the weight of a minimum spanning tree in . Therefore,
Then, combining the equations and inequalities above yields
Subcase 2.2: r is adjacent to two vertices of D. We claim that if , then we are done. Note that this implies . So, if , then is a bad induced diamond in . Otherwise, because is a well-covered cycle in . Hence, is a bad induced diamond in . Since both diamonds contain r, the instance is not submodular by Case 1. Thus, we may assume that . Additionally, we may assume that . Otherwise, is a bad induced diamond in , and we are done again by Case 1. With these two assumptions, it is then easy to see that
Since is the most expensive edge in the cycle by our assumption, it can be deleted without increasing the weight of a minimum spanning tree in . By a similar reasoning, uv and the most expensive edge in the Hamiltonian cycle of D can also be deleted. Therefore,
Finally, combining the equations and inequalities above yields
Subcase 2.3: r is adjacent to three vertices of D. Let for some , and consider the induced diamond . If its Hamiltonian cycle is well-covered, then we are done by Case 1 because . So we may assume that . Additionally, we may assume that . Otherwise, from the previous assumption, the five edges have strictly smaller weights than . Thus, is a bad induced diamond in , and we are done again by Case 1. With these two assumptions, it is then easy to see that
Since rv is the most expensive edge in the cycle by our assumption, it can be deleted without increasing the weight of a minimum spanning tree in . By a similar reasoning, , uv and the most expensive edge in the Hamiltonian cycle of D can also be deleted. Hence,
Finally, combining the equations and inequalities above yields
We are now ready to define the main object of study in this section.
Definition 3
A violated cycle is a well-covered cycle which contains at least one pair of non-adjacent vertices and at least one vertex not adjacent to r.
In the definition above, w can be equal to u or v. For example, if , then the pair already certifies that C is a violated cycle because it can be used to satisfy both conditions. Observe that bad holes and Hamiltonian cycles of bad induced diamonds are examples of violated cycles (we consider a hole to be well-covered). The next lemma extends the scope of Lemma 2 to include violated cycles. When , this coincides with the condition given by Kobayashi and Okamoto [9] because every cycle in is well-covered.
Lemma 3
If the spanning tree game on G is submodular, then there are no violated cycles in for any .
Proof
We will prove the contrapositive. Let j be the smallest integer such that contains a violated cycle. By our choice of j, there are no violated cycles in for all . Let C be a smallest violated cycle in . Then, . We first prove the following claim.
Claim 1
For any chord f, the subcycles of C formed by f are well-covered.
Proof
Let and denote the subcycles of C formed by f. For the purpose of contradiction, suppose that is not well-covered. Let be the cheapest chord in such that and for some edge , where f and h lie in different subcycles of formed by g (see Fig. 4 for an example). This chord exists because C is well-covered but is not. Consider the subcycles and of C formed by g, where f is a chord of the former. Observe that any chord of covers because C is well-covered and . So, the subcycle is well-covered. In addition, the subcycle is well-covered because g was chosen to be the cheapest chord preventing from being well-covered.
Fig. 4.

The ellipse represents the violated cycle C in Claim 1. The shaded region highlights the smaller violated cycle D. The dashed edge indicates
Let for some . We claim that the subcycle is present in . To see this, recall that C is well-covered and . Hence, it follows that for all , which proves the claim. On the other hand, notice that the chord f is absent from because . Since the subcycle is well-covered, its vertices are adjacent to r in because there are no violated cycles in . Next, recall that C is a violated cycle in , so there exists a vertex such that . Since the subcycle is well-covered, its vertices are pairwise adjacent in , as otherwise it is a smaller violated cycle than C. Note that this also implies . Thus, we have and .
Now, consider the 4-cycle D defined by . It is well-covered because and . Since , it is also a violated cycle in . However, it is smaller than C. Indeed, C has at least 5 vertices because f is a chord in while g is a chord in . We have arrived at a contradiction.
Our goal is to show the existence of a bad hole or a bad induced diamond in . Then, we can invoke Lemma 2 to conclude that the game is not submodular. We may assume that C has a chord, otherwise it is trivially a bad hole. First, consider the case when . Let where . For any chord f in C, observe that r and s lie in different subcycles of C formed by f. This is because the subcycles are well-covered by the previous claim, so the one which contains both r and s will contradict the minimality of C. Now, let g be a chord of C. Let and denote the subcycles of C formed by g where and . Observe that the vertices of are adjacent to r due to the minimality of C. Thus, is a triangle. Otherwise, there is a chord in incident to r, and it forms a subcycle of C which contains both r and s. On the other hand, the vertices of are pairwise adjacent due to the minimality of C. Hence, is also a triangle. Otherwise, there exists a chord in incident to s, and it forms a subcycle of C which contains both r and s. Therefore, C is a bad induced diamond in .
Next, consider the case when . From this point forward, we may assume that every smallest violated cycle in does not contain r. Otherwise, we are back in the first case again. With this additional assumption, non-adjacency within C implies non-adjacency with r, as shown by the following claim.
Claim 2
For any pair of vertices such that , we have or .
Proof
For the purpose of contradiction, suppose that . Let such that . Let and denote the edge-disjoint s-u and s-v paths in C respectively. Let and be the closest vertex to s on and respectively such that (see Fig. 5 for an example). Without loss of generality, let . Denote and as the s- and s- subpaths of and respectively. Now, consider the cycle . Observe that it contains r and is no bigger than C. Furthermore, it does not contain a chord incident to r by our choice of and . To arrive at a contradiction, it is left to show that D is well-covered, as this would imply D is violated. Suppose for a contradiction, that D is not well-covered. Then, there exists a chord g in D such that and for some , where and h lie in different subcycles of D formed by g. This chord exists because C is well-covered but D is not. Let and denote the subcycles of C formed by g, where . Note that any chord of covers because C is well-covered and Hence, the subcycle is well-covered. Moreover, we also have for all because C is well-covered and . Let for some . Then, is still present in but is not. Since also contains u and v but because , it is a violated cycle in . However, this is a contradiction because there are no violated cycles in .
Fig. 5.

The ellipse represents the violated cycle C in Claim 2. The shaded region highlights the violated cycle D. The dashed edges indicate non-adjacency in . In this example, and
The remaining proof proceeds in a similar fashion to the first case. Let be such that . By the claim above, we know that or . For any chord f in C, observe that u and v lie in different subcycles of C formed by f. This is because the subcycles are well-covered by Claim 1, so the one which contains both u and v will contradict the minimality of C. Now, let g be a chord of C. Let and denote the subcycles of C formed by g where and . The vertices of are pairwise adjacent due to the minimality of C. Thus, is a triangle. Otherwise, there exists a chord in incident to u, and it forms a subcycle of C which contains both u and v. By an analogous argument, is also a triangle. Therefore, C is a bad induced diamond in .
Notice that we have proven something stronger. Namely, if contains a violated cycle, then there exists an index such that contains a bad hole or a bad induced diamond. Moreover, as mentioned earlier, bad holes and Hamiltonian cycles of bad induced diamonds are violated cycles themselves. Thus, we obtain the following corollary.
Corollary 1
There are no bad holes or bad induced diamonds in for any if and only if there are no violated cycles in for any .
Candidate edges and expensive neighborhood
In the previous section, we showed that violated cycles are an obstruction to submodularity. In light of this fact, we now focus on graphs G whose subgraphs do not contain violated cycles. The goal of this section is to study the behaviour of on these graphs. As a first step, the following lemma sheds light on how a minimum spanning tree changes under vertex removal.
Lemma 4
Assume that there are no violated cycles in for any . Let T be a minimum spanning tree of G[S] where . For any , there exists a minimum spanning tree of which contains and additionally, only uses edges from .
Proof
Pick a vertex . By Lemma 1, there exists a minimum spanning tree of which contains . Let be such a tree which uses the most edges from . We will show that is our desired tree. For the purpose of contradiction, suppose has an edge uv such that and . Note that u and v lie in different components of . Let and denote the unique s-u and s-v paths in T respectively. We claim that is a well-covered cycle in , where . First, observe that uv is the most expensive edge in C because is part of the minimum spanning tree T. Hence, the cycle C is present in . Let be any chord of C in , and denote as the unique x-y path in T. Then, is a subcycle of C formed by f. Moreover, we have for all because is part of the minimum spanning tree T. Hence, the chord f covers C, which proves the claim.
Let and be the vertices adjacent to s in and respectively. By our choice of , we have , which implies that and are not adjacent in . Since there are no violated cycles in , it follows that the vertices of C are adjacent to r in . However, note that adding or to creates a fundamental cycle which uses the edge uv. Swapping it with uv creates another minimum spanning tree of which contains and uses more edges from . We have arrived at a contradiction.
Given a pair of vertices where , the following definition distinguishes the neighbours of u, v in G from the neighbours of u, v in .
Definition 4
For an edge , if , the expensive neighborhood of uv is defined as
In other words, the expensive neighborhood of an edge uv is the set of vertices such that . It turns out that the function always returns zero when evaluated on a set which does not lie entirely in the expensive neighborhood of uv.
Lemma 5
Assume that there are no violated cycles in for any . Let and . If , then .
Proof
Let T be a minimum spanning tree of . First, we show that we can assume . Since , there exists a vertex such that . If , then by rooting T at s, u is either a child or a parent of v. Adding su to T in the former and sv in the latter creates a fundamental cycle which contains uv. Thus, we can replace uv with this new edge to obtain the desired tree.
Since there are no violated cycles in for any , by Lemma 4, there exists a minimum spanning tree of which contains and additionally, only uses edges from . Recall that we assumed , or equivalently, . Therefore, the neighborhood of v is identical in both trees, i.e. .
Consider the forest . Let such that p and r lie in the same component of (see Fig. 6 for an example). Note that if . We claim that p and r also lie in the same component of the forest . We may assume that , as otherwise the claim is trivially true. Moreover, we may assume that u lies on the unique p-r path in T. Otherwise, we are done because the same path is present in . Let denote the component of which contains p, r and u. By Lemma 4, the endpoints of every edge in lie in . This proves the claim.
Fig. 6.
The left image depicts an example of the minimum spanning tree T in . The right image depicts an example of the minimum spanning tree in . The solid edges belong to the trees while dashed edges belong to the edge set F
Using Lemma 4, we can construct a minimum spanning tree of by deleting v from T and adding a set F of edges from . Note that as p and r lie in the same component of . Since p and r also lie in the same component of and , deleting v from and adding the same set F of edges produces a minimum spanning tree of G[S]. Thus, we get
as desired.
We can now focus solely on vertex sets which lie entirely in the expensive neighborhood of uv. Observe that if , then for all . Thus, we do not have to check these edges uv as for all by the previous lemma. This motivates the following definition.
Definition 5
An edge is called a candidate edge if .
With a mild assumption, we can show that the function is inclusion-wise nonincreasing in the expensive neighborhood of uv.
Lemma 6
Assume that there are no violated cycles in for any . Let uv be a candidate edge and such that . If for every candidate edge xy, then for any .
Proof
Pick a vertex . Without loss of generality, assume . Then, because . However, these two inequalities also imply that . It follows that the set is not contained in the expensive neighborhood of su. By Lemma 5,
Rearranging yields
| 1 |
Since uv is a candidate edge, let for some . We will proceed by induction on i. For the base case , we have . Since , the set is not contained in the expensive neighborhood of su because . By Lemma 5,
Rearranging yields
| 2 |
Adding (1) and (2) gives . Now, suppose the lemma is true for all for some . For the inductive step, let . We may assume that , as otherwise we obtain equality again. This implies that su is a candidate edge because . Since , we get
where the first inequality is due to our assumption while the second inequality is due to the induction hypothesis. Then, rearranging and adding it to (1) yields as desired.
Characterization of submodularity
We are finally ready to give an efficient characterization of submodular spanning tree games.
Theorem 1
The spanning tree game on G is submodular if and only if the following two conditions are satisfied.
-
(i)
There are no violated cycles in for any .
-
(ii)
For every candidate edge uv, .
Furthermore, these conditions can be verified in polynomial time.
Proof
For necessity, assume the game is submodular. Then, Condition (i) is satisfied by Lemma 3 while Condition (ii) is satisfied trivially. For sufficiency, assume Conditions (i) and (ii) hold. Let and . If , then by Lemma 5. On the other hand, if , then uv is a candidate edge. By Lemma 6,
Therefore, the game is submodular.
Checking Condition (ii) can clearly be done in polynomial time. Using Corollary 1, verifying Condition (i) reduces to searching for bad holes and bad induced diamonds in each , which can be done efficiently. To look for bad holes, one could check if there exists a hole through a given vertex v for all where . To look for bad induced diamonds, a naive implementation would involve examining all vertex subsets of size 4, which still runs in polynomial time.
S-wide spanning trees
In this section, we answer another question posed in [9]. There the authors stated a necessary condition for submodularity of the spanning tree game, and left open whether their condition can be verified in polynomial time. We here show that this is indeed the case. While this is not that relevant anymore in order to characterize submodularity (since we have provided Theorem 1), it shows a nice connection with matroid intersection that might still be of interest.
Theorem 2
(Theorem 1.2 in [9]). If the spanning tree game on G is submodular, then every minimum spanning tree T of G possesses the following two properties.
It holds that for every vertex and every vertex on the (unique) path connecting r and v in T.
For any pair of vertices where , the cycle obtained by adding uv to T does not contain r.
We show that checking Conditions (a) and (b) can be reduced to computing S-wide spanning trees, which are defined as follows. Let be an undirected graph with edge weights and a designated root . Let be a given set of terminals. We say that a spanning tree T of G is S-wide if every component of contains at most one terminal. Equivalently, T is S-wide if for every where , the unique - path on T contains the root . We are interested in the following problem:
Before solving the problem above, let us explain how one can use it to efficiently test Conditions (a) and (b) of Theorem 2. To check Condition (a), consider all pairs of vertices with , and do the following. Set and . Compute an S-wide spanning tree of minimum weight in G. If the weight of is equal to the weight of a minimum spanning tree in G, then is a minimum spanning tree of G violating Condition (a), since u is on the unique path from r to v in . It is not difficult to see that this procedure will eventually find a minimum spanning tree violating Condition (a), if one exists.
Condition (b) can be checked in a similar way. Consider all ordered pairs of vertices with , and do the following. Set and . Compute an S-wide spanning tree of minimum weight in G. If the weight of is equal to the weight of a minimum spanning tree in G, then is a minimum spanning tree of G violating Condition (b), since adding uv to yields a cycle containing r. Once again, it is not difficult to see that this procedure will eventually find a minimum spanning tree violating Condition (b), if one exists.
We will now demonstrate how to compute an S-wide spanning tree of minimum weight using matroid intersection. Let be a given instance. Without loss of generality, we may assume that there are no edges between any pair of terminals, as every S-wide tree does not use them. We also assume , otherwise this reduces trivially to computing an arbitrary minimum spanning tree.
First, construct an auxiliary graph from G as follows. Create copies of the root vertex , including its incident edges. Next, let denote the multigraph obtained from by identifying into a single vertex r. Note that parallel edges are kept. In order to distinguish the k parallel edges between r and some vertex v, they will be denoted for all , just like in the graph . Similarly, let denote the multigraph obtained from by identifying into a single vertex s. See Fig. 7 for an example.
Fig. 7.
The graph and multigraphs respectively for the input graph with 2 terminals
Now, consider the graphic matroids on and , denoted and respectively. Observe that the matroids and share the same ground set due to our notation of the parallel edges, but their independent sets are different. We would like to establish a correspondence between S-wide spanning trees in G and common bases of and . Let be the set of S-wide spanning trees in G. Moreover, let and be the set of bases of and respectively. Construct the function defined by
where is defined as
Lemma 7
For every , g(J) induces an S-wide spanning tree in G.
Proof
Let . Then, it induces a spanning tree in the multigraphs and . Note that g(J) also induces a spanning tree in the multigraph . Since the input graph G can be obtained from the multigraph by removing parallel edges, and , it follows that g(J) induces a spanning tree T in G. It is left to show that T is S-wide. For the purpose of contradiction, suppose there exist distinct indices such that the unique - path P in T does not contain the root . From the definition of h, we know that . However, E(P) induces a non-simple walk in , which implies that . We have reached a contradiction.
Lemma 8
For every , there exists a set such that .
Proof
Let T be an S-wide spanning tree in G. For every , let be the first edge of the - path on T. Replace each with and call the resulting edge set J. Then, J induces a forest F with k components in the auxiliary graph , each of which contains and . Since for all , J induces a spanning tree in the multigraph , as well as a spanning tree in the multigraph . Thus, . Moreover, .
The last two lemmas imply that g is a surjective mapping from to . It is also cost-preserving because for all . Therefore, we can efficiently compute a minimum-weight S-wide spanning tree by computing a minimum-weight common basis of and .
Acknowledgements
The authors would like to thank Kanstantsin Pashkovich for suggesting the connection with matroids in Sect. 6. The authors are also grateful to the anonymous reviewers for their valuable comments, which have helped improve the presentation of this paper.
Footnotes
Z. K. Koh: This work was done while the author was at the University of Waterloo.
A preliminary version of this paper appeared in Proceedings of the 20th Conference on Integer Programming and Combinatorial Optimization, IPCO 2019This work was supported by the NSERC Discovery Grant Program and an Early Researcher Award by the Province of Ontario.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Zhuan Khye Koh, Email: z.koh3@lse.ac.uk.
Laura Sanità, Email: lsanita@uwaterloo.ca.
References
- 1.Bird CG. On cost allocation for a spanning tree: a game theoretic approach. Networks. 1976;6(4):335–350. [Google Scholar]
- 2.Chalkiadakis, G., Elkind, E., Wooldridge, M.: Computational Aspects of Cooperative Game Theory. Synthesis Lectures on Artificial Intelligence and Machine Learning. Morgan & Claypool Publishers (2011)
- 3.Claus A, Kleitman DJ. Cost allocation for a spanning tree. Networks. 1973;3(4):289–304. [Google Scholar]
- 4.Faigle U, Kern W, Fekete SP, Hochstättler W. On the complexity of testing membership in the core of min-cost spanning tree games. Int. J. Game Theory. 1997;26(3):361–366. [Google Scholar]
- 5.Faigle U, Kern W, Kuipers J. Note computing the nucleolus of min-cost spanning tree games is NP-hard. Int. J. Game Theory. 1998;27(3):443–450. [Google Scholar]
- 6.Granot D, Huberman G. Minimum cost spanning tree games. Math. Program. 1981;21(1):1–18. [Google Scholar]
- 7.Granot D, Huberman G. The relationship between convex games and minimum cost spanning tree games: a case for permutationally convex games. SIAM J. Algebr. Dis. Methods. 1982;3(3):288–292. [Google Scholar]
- 8.Grötschel M, Lovász L, Schrijver A. Geometric Algorithms and Combinatorial Optimization, Volume 2 of Algorithms and Combinatorics. Berlin: Springer; 1993. [Google Scholar]
- 9.Kobayashi M, Okamoto Y. Submodularity of minimum-cost spanning tree games. Networks. 2014;63(3):231–238. [Google Scholar]
- 10.Kuipers, J.: A polynomial time algorithm for computing the nucleolus of convex games. Report M, (Maastricht University, 1996). pp. 96–12
- 11.Maschler M, Peleg B, Shapley LS. The kernel and bargaining set for convex games. Int. J. Game Theory. 1971;1(1):73–93. [Google Scholar]
- 12.Okamoto Y. Submodularity of some classes of the combinatorial optimization games. Math. Methods Oper. Res. 2003;58(1):131–139. [Google Scholar]
- 13.Shapley LS. Cores of convex games. Int. J. Game Theory. 1971;1(1):11–26. [Google Scholar]
- 14.Trudeau C. A new stable and more responsive cost sharing solution for minimum cost spanning tree problems. Games Econ. Behav. 2012;75(1):402–412. [Google Scholar]
- 15.van den Nouweland A, Borm P. On the convexity of communication games. Int. J. Game Theory. 1991;19(4):421–430. [Google Scholar]





