Abstract
In the knapsack problem a group of agents want to fill a knapsack with several goods. Two issues must be considered. The first is to decide optimally what goods to select for the knapsack. This issue has been studied in many papers in the literature on Operations Research and Management Science. The second issue is to divide the total revenue among the agents. This issue has been studied in only a few papers, and this is one of them. For each knapsack problem we consider three associated cooperative games. One of them (the pessimistic game) has already been considered in the literature. The other two (realistic and optimistic games) are defined in this paper. The pessimistic and realistic games have non-empty cores but the core of the optimistic game could be empty. We then follow the axiomatic approach. We propose two rules: The first is based on the optimal solution of the knapsack problem. The second is the Shapley value of the so called optimistic game. We offer axiomatic characterizations of both rules.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
A mountaineer is planning a mountain tour with a knapsack, which is limited in size. Thus, he/she must decide what objects to carry in it. The idea is to select the most important objects, given its limited size. This is a classical example of the so called knapsack problem, which in general deals with a finite set of goods which has to be packed in a knapsack of limited size. Each good j has a revenue \(p_{j}\) and a size \(w_{j}.\) A subset of goods must be selected whose total size does not exceed the size of the knapsack and whose total revenue is as great as possible.
The knapsack problem has been applied to various real-world decisions. Examples (see Pisinger 1998) include investments (deciding how to split the investment of a fixed amount of money between several business projects) and cargo airlines (deciding how to fill an airplane given the demands of customers). Other applications (see Bretthauer and Shetty 2002) include financial models, production and inventory management, stratified sampling, the optimal design of queuing network models in manufacturing, computer systems, and health care.
The most popular formulation is the so called 0–1 knapsack problem. There is a finite number of goods (one unit of each good) and it must be decided which ones are to be selected for the knapsack. The goods can enter either completely (1) or not at all (0). Since the number of goods is finite, there is an optimal solution (which maximizes the sum of the revenues of the goods included in the knapsack). The first issue addressed is the computational complexity of the optimal solution. Unfortunately, this problem is NP hard (see, for instance, Martello et al. 2000). Thus, the optimal solution must be approximated by algorithms.
There are more general formulations of the knapsack problem. They include the continuous knapsack problem, where fractions of each good can be included; the bounded knapsack problem, where there can be several copies of each good; the d-dimensional knapsack problem, where there are several constraints (for instance weight and volume) on filling the knapsack; the multiple knapsack problem, where there are several knapsacks rather than only one; the multiple choice knapsack problem, where there are several object types and one object of each type must be chosen; and the non-linear knapsack problem, where the objective function and the constraint are non-linear. Again, the main issue addressed by this literature is how to compute the optimal solution. Pisinger (1998), Martello et al. (2000), and Kellerer et al. (2004) survey this literature.
In all the literature mentioned above there is assumed to be a single agent involved in the situation. Of course, such an agent only cares about what the optimal solution is. However, in many situations several agents could be involved. For instance, several firms (agents) may decide to set up a partnership to embark together on some business projects (the goods). The total amount invested by the partnership of firms (the knapsack) must be divided between the business projects. Dror (1990) and Darmann and Klamler (2014) mention other possible applications where a group of agents seeks to allocate shares of the cost of a joint, fixed budget (such as the agricultural budget of the EU) among various different activities.
As in the classic situation, we consider a knapsack of limited size which has to be filled with several goods of a given size. But now agents can receive different revenues from the goods. We assume that a group of agents (N) decide which goods (from a set M) should be included in a knapsack of fixed size W. Each good \(j\in M\) has a fixed size \(w_{j}\). The revenues of the agents for the goods are heterogeneous and are modeled by a vector p where for each \(i\in N\) and \(j\in M\), \(p_{j}^{i}\in {\mathbb {R}}_{+}\) denotes the revenue obtained by agent i when one unit of good j is included in the knapsack. We assume that the revenue of each agent is linear in the quantities consumed. The goods could be public (if \(p_{j}^{i}>\) 0 for any agent i, then good j could be considered as a public good because every agent receives a revenue from it) or private (if \(p_{j}^{i}>\) 0 is taken for agent i and \(p_{j}^{k}=0\) when \(k\ne i,\) then good j could be considered as a private good of agent i).
The revenue of good j (the \(p_{j}\) of the classical problem) can now be defined as \(\sum \nolimits _{i\in N}p_{j}^{i}\). We also assume (as in the classical model) that agents will select the goods by maximizing the total revenue
(the sum of the revenue of all agents). Thus, the first part of the problem involves computing the optimal solution (or the approximation obtained). The second part is to divide the cost (or revenues) among the agents. The first part is mainly studied in the operations research literature, while the second part is also studied in economics. For instance, Borm et al. (2001) give a survey that focuses on connection problems, routing (Chinese postman and travelling salesman), scheduling (sequencing, permutation, assignment), production (linear production, flow), and inventory.
As far as we know, the paper by Darmann and Klamler (2014) is the only one in which the second part of the knapsack problem is studied. They focus on the continuous knapsack problem, where the optimal solution can be computed in polynomial time. They consider the following: "the goal is to divide the cost of the optimally packed knapsack among the individuals in a fair manner. In this paper, we assume that every unit of weight imposes a cost of one, and therefore the total cost of the knapsack is equal to the weight constraint W". They then define a family of rules which is characterized by several properties. They also study a particular rule in that family which divides the cost associated with each good equally among the agents approving that good.
Our paper also considers the second part of the problem, but our approach is different. Firstly, Darmann and Klamler (2014) consider the case where agents either approve or disapprove each good, i.e., for each i and j, \(p_{j}^{i}=1\) when agent i approves good j and \(p_{j}^{i}=0\) when agent i disapproves good j. Secondly, Darmann and Klamler (2014) assume that each knapsack comes with a certain costs (equal to its weight) which has to be distributed among the agents. In our paper, however, no costs are assumed and our main goal is to divide the total revenue generated by the optimal knapsack among the agents.
We first clarify the difference between the two approaches with a simple example. Consider the knapsack problem with three agents (1, 2, and 3) and two goods (a and b). The size of the knapsack is 1 and the size of each good is also 1. Good a is approved by agents 1 and 2 and good b is approved by agent 3. In our model \(p_{a}^{1}=p_{a}^{2}=p_{b}^{3}=1\) and \( p_{b}^{1}=p_{b}^{2}=p_{a}^{3}=0.\) Including good a in the knapsack results in an aggregate revenue of 2 (agents 1 and 2 receive a revenue of 1 and agent 3 gets 0). Including good b results in an aggregate revenue of 1 (agent 1 and 2 get a revenue of 0 and agent 3 gets 1). The optimal solution is to include good a in the knapsack. In the rule \(\phi ^{e}\) of Darmann and Klamler (2014) agents 1 and 2 pay 0.5 and agent 3 pays nothing. This means that agent 1 and 2 obtain earnings (the revenue that they get from good a minus the amount that they pay) whereas agent 3 obtains nothing (he/she receives nothing and pays nothing). In our case agents must decide how to divide the revenue generated by the optimal solution (2 in this case) among themselves. Thus, we also consider the possibility of agent 3 being compensated by agents 1 and 2 (because good b is not included) and thus obtaining a positive revenue. Actually, one of the allocation rules that we consider does this.
In this paper we follow a cooperative approach and study how to divide the total revenue among the agents. Thus, we implicitly assume that agents who include many of "their goods" in the knapsack could compensate those agents who include few of "their goods" in order to obtain a fair allocation.
The continuous knapsack problem can be solved in polynomial time, but the optimal solution is not necessarily unique. Each optimal solution induces an obvious way of dividing the total revenue among the agents. Namely, each agent receives the revenue obtained by that agent under the optimal solution considered.
In the literature there is a way of associating a cooperative game with each knapsack problem (see, for instance, Kellerer et al. 2004). The value of a coalition S is defined as the revenue obtained by agents of that coalition when the knapsack is filled in the worst way for S. We call this the pessimistic game. The core of this game is known to be non-empty and contains the allocation induced by each optimal solution. We introduce two alternative cooperative games: The optimistic game and the realistic game. In the optimistic game the value of a coalition S is defined as the revenue obtained by the agents of that coalition when the knapsack is filled in the best way for S. It is easy to see that the core of the optimistic game could be empty. In the realistic game the value of a coalition S is defined as the maximal revenue obtained by agents of that coalition when agents in \(N\backslash S\) fill the knapsack in the best way for \(N\backslash S\). We prove that the realistic game has a non-empty core that contain the allocation induced by each optimal solution.
We then follow the axiomatic approach: A knapsack rule is a function that divides the total revenue generated by an optimal solution among the agents for each knapsack problem. We introduce several properties of rules and discuss some relationships between the properties. One of them is core selection, which means that the allocation must be in the core of the realistic game. In several knapsack problems core selection implies that some non-dummy agents could receive 0, which seems a little unfair. Thus, we also consider the securement property (inspired by Moreno-Ternero and Villar 2004 ), which guarantees all agents a minimum amount. Securement states that each agent must receive at least (1/n) the amount that he/she obtains when the knapsack is assigned to him/her. Unfortunately there is no rule that satisfies both properties. Thus we consider two rules, each satisfying one of the properties.
We first consider the rule induced by the optimal solution (in this case we restrict our analysis to problems where such optimal solution is unique). It satisfies core selection but not securement. We present three characterizations of this rule. In the first we use core selection and no advantageous splitting. In the second we use maximum aspirations, independence of irrelevant goods, and composition up. In the third we use maximum aspirations and no advantageous splitting.
We then consider the Shapley value of the optimistic game, which satisfies securement but not core selection. We characterize it with equal contributions.
The rest of the paper is organized as follows. Section 2 formally introduces the knapsack problem. Section 3 studies the three cooperative games associated with the knapsack problem. Section 4 introduces the properties, rules, and axiomatic characterizations. Section 5 presents some concluding remarks. Some omitted proofs of our results are relegated to the Appendix, and the paper ends with a list of references.
2 The knapsack problem
In the knapsack problem a set of agents (N) want to place some goods in a knapsack of a given size.
We assume that the set of potential agents is infinite. Thus, there exists an infinite set \({\mathcal {N}}\) such that \(N\subset {\mathcal {N}}.\)
We focus on the continuous knapsack problem, where goods are assumed to be perfectly divisible. It is then possible select fractions of each good for inclusion in the knapsack.
A knapsack problem is defined as a 5-tuple \(P=\left( N,M,W,w,p\right) \) where
-
\(N=\{1,\ldots ,n\}\) denotes a set of agents.
-
\(M=\{g_{1},\ldots ,g_{m}\}\) denotes the set of goods.
-
\(W\in {\mathbb {R}}_{+}\) is the size of the knapsack.
-
\(w=\left\{ w_{j}\right\} _{j\in M}\in {\mathbb {R}}_{+}^{M}\) where for each \(j\in M,\) \(w_{j}\) denotes the size of good j.
-
\(p=\left\{ p_{j}^{i}\right\} _{i\in N,j\in M}\) where for each \(i\in N\) and \(j\in M,\) \(p_{j}^{i}\in {\mathbb {R}}_{+}\) denotes the revenue that agent i obtains for each unit of good j that is included in the knapsack.
Darmann and Klamler (2014) consider the particular case where \(p_{j}^{i}\in \left\{ 0,1\right\} \) for each \(i\in N,\) \(j\in M.\) Namely, agents approve or disapprove each good.
Some notation used below needs to be introduced here. Given a knapsack problem P and \(M^{\prime }\subset M\) denote by \(P_{M^{\prime }}\) the restriction of P to goods in \(M^{\prime }.\) Namely,
Given a knapsack problem P and \(N^{\prime }\subset N\) denote by \( P^{N^{\prime }}\) the restriction of P to agents in \(N^{\prime }.\) Namely,
For each \(j\in M,\) the total revenue of good j is
For each \(S\subset N\) and \(j\in M,\) \(p_{j}^{S}=\sum \nolimits _{i\in S}p_{j}^{i}.\) Notice that for each \(j\in M,\) \(p_{j}^{N}=p_{j}.\)
For each \(i\in N,\) let \(p^{i}=\left( p_{j}^{i}\right) _{j\in M}\) denote the vector of revenues associated with agent i.
The interesting case arises when not all goods can be fitted into the knapsack, namely, \(W<\sum \nolimits _{j\in M}w_{j}.\) The case \(W\ge \sum \nolimits _{j\in M}w_{j}\) is solved easily by including all goods in the knapsack. It is assumed in the rest of the paper that \(W<\sum \nolimits _{j\in M}w_{j}.\)
\(x=\left( x_{j}\right) _{j\in M}\in {\mathbb {R}}^{M}\) is said to be a feasible solution for P if \(x_{j}\in [0,1]\) for each \(j\in M\) and \( \sum \nolimits _{j\in M}w_{j}x_{j}=W\). Denote by \(FS\left( P\right) \) the set of feasible solutions for P. As \(x_{j}\in [0,1],\) assume that at most one unit of each good is admitted. Since \(W<\sum \nolimits _{j\in M}w_{j},\) \(FS\left( P\right) \) has infinitely many elements (when there are at least two goods).
Given a problem P, each feasible solution x induces a vector of revenues \(u\left( x\right) =\left( u_{i}\left( x\right) \right) _{i\in N}\) given by the goods included in the knapsack. For each feasible solution x and each \( i\in N,\)
The first issue addressed in the literature (mainly from operations research) is how to select the goods to be included in the knapsack in such a way that the aggregated revenue of the agents is maximized. Formally,
In what follows, it is assumed, without loss of generality, that the goods are sorted in such a way thatFootnote 1
This problem has at least one optimal solution. One of them is \( x^{*}\left( P\right) =\left\{ x_{j}^{*}\left( P\right) \right\} _{j\in M}\) defined as
where s is defined by
When no confusion arises \(x^{*}\) can be written instead of \(x^{*}\left( P\right) .\) \(X^{*}(P)\) (or \(X^{*}\)) denotes the set of all optimal solutions.
If it is assumed that \(\frac{p_{1}}{w_{1}}>\cdots >\frac{p_{m}}{w_{m}},\) it can be guaranteed that the previous problem has a unique optimal solution.
Denote by \({\mathcal {P}}\) the class of all knapsack problems and by \(\mathcal {P }^{*}\) the class of knapsack problems where \(\frac{p_{1}}{w_{1}}>\cdots > \frac{p_{m}}{w_{m}}\).
We assume that agents choose the goods to be included in the knapsack in such a way as to maximize the total revenue. Focus now shifts to the problem of deciding how the total revenue is divided among the agents. For any problem P the set of feasible allocations is defined as
3 Cooperative knapsack games
This section associates with each knapsack problem three cooperative games with transferable utility known as pessimistic, optimistic, and realistic, depending on how the value of a coalition S is defined.
The pessimistic game has already been studied in the literature (see, for instance, Kellerer et al. 2004). The value of a coalition S is computed in the worst scenario for coalition S. This is the most standard approach and it has been used in problems of many different kinds. In this case, it is assumed that the knapsack is filled by including the goods with the smallest aggregate revenue for agents in S. The optimistic game, inspired by Bergantiños and Vidal-Puga (2007) and Bergantiños and Lorenzo-Freire (2008) , is in some sense a dual of the pessimistic game because the value of a coalition S is computed in the best scenario for coalition S. Thus, it is assumed that the knapsack is filled by including the goods with the greatest aggregate revenue for agents in S. The realistic game seeks to be a kind of compromise between the pessimistic and optimistic games. A pessimistic approach is taken in the sense that coalition \(N\backslash S\) is allowed to fill the knapsack in the best way for them. An optimistic approach is taken in the sense that of all the allocations that give greater aggregate revenue to \(N\backslash S\), coalition S can select the one that gives the greatest aggregate revenue to S.
We study the core of such games. The core of pessimistic and realistic games is always non-empty, while the core of the optimistic game could be empty.
A cooperative game with transferable utility (a TU game, for short) is a pair \(\left( N,v\right) \) where \(v:2^{N}\rightarrow {\mathbb {R}}\) satisfies \(v\left( \varnothing \right) =0.\) When no confusion arises v can be written instead of \(\left( N,v\right) .\)
The core of a TU game v is defined as
In the pessimistic approach the knapsack is assumed to be filled in the worst way for any proper coalition \(S\varsubsetneq N\) and all agents agree to fill the knapsack optimally. Formally, for each knapsack problem P the pessimistic game \(v_{P}^{p}\) is defined where,
When no confusion arises \(v^{p}\) can be written instead of \(v_{P}^{p}.\)
In the optimistic approach it is assumed that agents in S can fill the knapsack as they want. Formally, for each knapsack problem P the optimistic game \(v_{P}^{o}\) is defined where for each \(S\subset N,\)
When no confusion arises \(v^{o}\) can be written instead of \(v_{P}^{o}.\)
In the realistic approach it is assumed that coalition S chooses its best allocation among those that optimize the space of the knapsack for coalition \(N\backslash S\). Let \(X^{*}(P^{N\backslash S})\) be the set of optimal solutions of the problem \(P^{N\backslash S}\). For each knapsack problem P, define the realistic game \(v_{P}^{r}\) where for each \(S\subset N,\)
When no confusion arises \(v^{r}\) can be written instead of \(v_{P}^{r}.\)
Remark 1
It is obvious that for each problem P and each \(S\subset N,\) \( v^{p}(S)\le v^{r}(S)\le v^{o}(S)\) and \(v^{p}(N)=v^{r}(N)=v^{o}(N)\). Thus,
Example 1
Let P be such that \(N=\left\{ 1,2,3\right\} \), \( M=\left\{ a,b,c\right\} \), \(W=2\) and \(w_{j}=1\) for all \(j\in M.\) The vector p satisfies the following conditions.
-
\(p_{a}^{1}>0\) and \(p_{j}^{1}=0\) otherwise.
-
For each agent \(i\ne 1\), \(p_{b}^{i}>p_{c}^{i}>p_{a}^{1}\) and \( p_{a}^{i}=0.\)
-
\(p_{j}^{2}>p_{j}^{3},\) for each \(j\in \left\{ b,c\right\} .\)
We now compute the three games. The computation for coalition \(\left\{ 2,3\right\} \) is detailed. The worst feasible solution for agents 2 and 3 is \(\left\{ a,c\right\} .\) Thus, \(v^{p}\left( 2,3\right) =p_{c}^{2}+p_{c}^{3}.\) The best feasible solutions for agent 1 are \(\left\{ a,b\right\} \) and \(\left\{ a,c\right\} .\) Agents 2 and 3 obtain more revenue under \(\left\{ a,b\right\} \). Thus, \(v^{r}\left( 2,3\right) =p_{b}^{2}+p_{b}^{3}.\) The best feasible solution for agents 2 and 3 is \( \left\{ b,c\right\} .\) Thus, \(v^{o}\left( 2,3\right) =p_{b}^{2}+p_{b}^{3}+p_{c}^{2}+p_{c}^{3}.\)
T | \(v^{p}\left( T\right) \) | \(v^{r}\left( T\right) \) | \(v^{o}\left( T\right) \) |
---|---|---|---|
\(\left\{ 1\right\} \) | 0 | 0 | \(p_{a}^{1}\) |
\(\left\{ 2\right\} \) | \(p_{c}^{2}\) | \(p_{b}^{2}+p_{c}^{2}\) | \( p_{b}^{2}+p_{c}^{2}\) |
\(\left\{ 3\right\} \) | \(p_{c}^{3}\) | \(p_{b}^{3}+p_{c}^{3}\) | \( p_{b}^{3}+p_{c}^{3}\) |
\(\left\{ 1,2\right\} \) | \(p_{a}^{1}+p_{c}^{2}\) | \(p_{b}^{2}+p_{c}^{2}\) | \( p_{b}^{2}+p_{c}^{2}\) |
\(\left\{ 1,3\right\} \) | \(p_{a}^{1}+p_{c}^{3}\) | \(p_{b}^{3}+p_{c}^{3}\) | \( p_{b}^{3}+p_{c}^{3}\) |
\(\left\{ 2,3\right\} \) | \(p_{c}^{2}+p_{c}^{3}\) | \(p_{b}^{2}+p_{b}^{3}\) | \( p_{b}^{2}+p_{b}^{3}+p_{c}^{2}+p_{c}^{3}\) |
N | \(p_{b}^{2}+p_{b}^{3}+p_{c}^{2}+p_{c}^{3}\) | \( p_{b}^{2}+p_{b}^{3}+p_{c}^{2}+p_{c}^{3}\) | \( p_{b}^{2}+p_{b}^{3}+p_{c}^{2}+p_{c}^{3}\) |
The core of the pessimistic game \(v^{p}\) is non empty and contains \(u\left( x^{\prime }\right) \) for all \(x^{\prime }\in X^{*}\) (see, for instance, Kellerer et al. 2004).
The core of the optimistic game \(v^{o}\) could be empty. In Example 1, \(v^{o}\left( \{1\}\right) +v^{o}\left( \{2\}\right) +v^{o}\left( \{3\}\right) >v^{o}\left( N\right) ,\) so \(c\left( v^{o}\right) =\varnothing .\)
We now prove that the core of the realistic game \(v^{r}\) is non-empty by showing that \(u\left( x^{*}\right) \) belongs to that core.
Theorem 1
For each knapsack problem P, \(u\left( x^{\prime }\right) \in c\left( v^{r}\right) \) for all \(x^{\prime }\in X^{*}.\)
Proof
Let P be a problem. Assume, to obtain a contradiction, that there exists \(x^{\prime }\in X^{*}\) such that \(u\left( x^{\prime }\right) \notin c(v^{r}).\) Then, there must exist \(S\subset N\) such that
.
Let \(x\in X^{*}(P^{N\backslash S})\) be such that
As \(x\in X^{*}(P^{N\backslash S}),\) \(\sum \limits _{j\in M}p_{j}^{N\backslash S}x_{j}\ge \sum _{j\in M}p_{j}^{N\backslash S}x_{j}^{\prime }.\) Then,
which contradicts that \(x^{\prime }\in X^{*}\). \(\square \)
The next example shows that the core of \(v^{r}\) could have other elements besides those induced for the optimal solutions (i.e. elements outside of \( \left\{ u\left( x^{\prime }\right) :x^{\prime }\in X^{*}\right\} )\).
Example 2
Let P be such that \(N=\{1,2,3\},\) \(M=\{a,b,c,d\}\), \(W=5\) , \(w_{a}=w_{b}=w_{d}=2\), \(w_{c}=1,\) \(p_{d}^{1}=0.7,\) \( p_{a}^{1}=p_{b}^{1}=p_{c}^{1}=0\), \(p_{a}^{2}=p_{b}^{2}=1,\) \( p_{c}^{2}=p_{d}^{2}=0\), \(p_{a}^{3}=1,p_{b}^{3}=0.9\), \(p_{c}^{3}=0.8,\) and \( p_{d}^{3}=0.\) Then, \(p_{a}=2,\) \(p_{b}=1.9,\) \(p_{c}=0.8\), \(p_{d}=0.7,\)
The optimal solution is \(x^{*}=\left( 1,1,1,0\right) .\) Namely, the knapsack contains a, b and c. Now \(u\left( x^{*}\right) =\left( 0,2,2.7\right) .\)
\(v^{r}\left( 1\right) =0,\) \(v^{r}\left( 2\right) =2,\) \(v^{r}\left( 3\right) =1.9,\) \(v^{r}\left( 1,2\right) =2,\) \(v^{r}\left( 1,3\right) =2.7,\) \( v^{r}\left( 2,3\right) =2.95,\) and \(v^{r}\left( N\right) =4.7.\) Thus, \(v^{r}\) has many core elements different from \(u\left( x^{*}\right) .\) For instance, \(\left( 0.7,2,2\right) .\)
We now mention some elementary properties of TU games. We say that v satisfies monotonicity if for each \(S\subset T\subset N,\) \(v\left( S\right) \le v\left( T\right) .\) We say that v satisfies superadditivity if for each \(S,T\subset N\) with \(S\cap T=\varnothing ,\) \( v\left( S\cup T\right) \ge v\left( S\right) +v\left( T\right) .\) We say that v satisfies subadditivity if for each \(S,T\subset N\) with \( S\cap T=\varnothing ,\) \(v\left( S\cup T\right) \le v\left( S\right) +v\left( T\right) .\) We say that v satisfies total balancedness if for each \(S\subset N\) the game \(\left( S,v\right) \) has a nonempty core. We say that v satisfies convexity if for each \(S\subset T\subset N,\) and \(i\notin T,\) \(v\left( S\cup i\right) -v\left( S\right) \le v\left( T\cup i\right) -v\left( T\right) .\)
In the next proposition we study the properties satisfied by each game.
Proposition 1
\(\left( a\right) \) The pessimistic game satisfies monotonicity, superadditivity, and total balancedness. The pessimistic game does not satisfy subadditivity and convexity.
\(\left( b\right) \) The optimistic game satisfies monotonicity and subadditivity. The optimistic game does not satisfy superadditivity, total balancedness, and convexity.
\(\left( c\right) \) The realistic game does not satisfy monotonicity, superadditivity, subadditivity, total balancedness, and convexity.
The proof is in the Appendix.
4 Knapsack rules and properties
This section looks at rules that could be used to share the total revenue of the knapsack between the agents. We introduce several properties and discuss some relationships between the properties. Core selection says that an allocation in the realistic core must be selected. Under core selection, agents who want goods which are not in great demand (those with small \(\frac{ p_{j}}{w_{j}}\)) could receive zero. This can be seen as unfair in the sense that non-dummy agents (agents that have a positive valuation of at least one good) should receive a minimum amount. This idea of minimal rights has already been discussed in problems of other kind. See, for instance, the property of securement introduced by Moreno-Ternero and Villar (2004) in bankruptcy problems. We adapt this property to the knapsack problem. Unfortunately there is no rule that satisfies core selection and securement.
We then introduce two rules. The first is based on the optimal solution and satisfies core selection. The second is based on the Shapley value and satisfies securement. We study the properties satisfied by each rule. We also provide several axiomatic characterizations of both rules.
Formally, a rule is a function f that assign to each problem P a sharing of the maximal revenue \(v\left( P\right) ,\) that is, \(\sum \nolimits _{i\in N}f_{i}\left( P\right) =v(P).\)
We now introduce several properties of rules and discuss some relationships between the properties.
Core selection says that the allocation proposed by the rule must belong to the core of the problem. Because of the definitions, we believe that \( v^{r}\left( S\right) \) represents what agents of S could obtain by themselves better than \(v^{p}\left( S\right) \) or \(v^{o}\left( S\right) .\) Thus, we select the core of the realistic game to define this property.
Core selection \(\left( cs\right) \). For each problem P, \(f\left( P\right) \in c\left( v^{r}\right) .\)
Assume that a good not selected by the optimal solution is removed. Then the allocation proposed by the rule does not change. This property is inspired by the well known principle of independence of irrelevant alternatives (used, for instance, in bargaining problems by Nash (1950)).
Independence of irrelevant goods \(\left( iig\right) \). Let P be a problem and \(j\in M\) satisfying that \(x_{j}=0\) for any optimal solution x. Then, \(f\left( P\right) =f\left( P_{M\backslash \left\{ j\right\} }\right) .\)
We now introduce a property that guarantees that no agent has incentives to divide his/her revenue and present him/her self as a group of agents. This property is known as no advantageous splitting and it is inspired by the property of strategy-proofness introduced in O’Neill (1982). We define it in the same way as in Thomson (2003, 2015).
No advantageous splitting \(\left( nas\right) \) Let \(P=\left( N,M,W,w,p\right) \) and \(P^{\prime }=\left( N^{\prime },M,W,w,p^{\prime }\right) \) be such that \(N\subset N^{\prime }\) and there exists \(i\in N\) with \(p^{i}=p^{\prime i}+\sum \nolimits _{k\in N^{\prime }\backslash N}p^{\prime k}\) and \(p^{k}=p^{\prime k}\) for all \(k\in N\backslash \left\{ i\right\} .\) Then,
Darmann and Klamler (2014) consider the property of pairwise split-proofness, which is related in its motivation to nas. There are several differences between pairwise split-proofness and nas. First, we only consider the case when an agent is divided into several agents. Second, when one agent is divided into several (or several join together as a single agent), in Darmann and Klamler (2014) each agent must approve different goods. Since our model is more general we allow different agents to approve the same good. Third, in Darmann and Klamler (2014) the property says that agents who do not split should not be affected. In our case (as in the bankruptcy problem) we say that agents that split are not better off.
The idea of the following property is to set an upper bound on the revenue received by each agent. In our case, each agent can receive no more than the revenue that he/she receives when he/she can use the whole knapsack.
For each problem P and each \(i\in N\) we define the maximum aspiration of agent i as \(MA_{i}\left( P\right) =\max \limits _{x\in FS\left( P\right) }u_{i}\left( x\right) .\) Notice that \(MA_{i}\left( P\right) =v^{o}\left( i\right) .\)
Maximum aspirations \(\left( ma\right) \) For each problem P and each \(i\in N,\) \(f_{i}\left( P\right) \le MA_{i}\left( P\right) .\)
The idea of the following property is the dual of the previous one. We try to guarantee each agent a minimum amount. In our case each agent must receive at least (1/n) the revenue that he/she obtains when the knapsack is assigned to him/her. Following Moreno-Ternero and Villar (2004) we call this securement, as they do for the case of bankruptcy problems.
For each problem P and each \(i\in N\) we define the secure allocation of agent i as
Notice that \(SE_{i}\left( P\right) =\frac{v^{o}\left( i\right) }{n}.\)
Securement \(\left( se\right) \) For each problem P and each \(i\in N\), \(f_{i}(P) \ge SE_{i}(P)\).
Equal contributions is a principle widely used in the literature since Myerson (1980) introduced it in TU games. It says that if agent i leaves the problem, the change in the allocation of agent k coincides with the change in the allocation to agent i when agent k leaves the problem.
Equal contributions \(\left( ec\right) \) For each problem P and each \(i,k\in N,\)
In order to define this last property we assume a restriction of domain for f to \({\mathcal {P}}^{*},\) where the optimal solution is unique and thus well defined. Composition up says that we can fill the knapsack in one step or, first fill part of the knapsack and later the rest. This property has been used in several economic problems. See for instance the surveys of Thomson (2003, 2015) about bankruptcy problems. Darmann and Klamler (2014) also use this property.
Let \(P=\left( N,M,W,w,p\right) \in {\mathcal {P}}^{*}\) and \(W_{1}\le W\). Then, \(P\left( W_{1}\right) =\left( N,M,W_{1},w,p\right) \in {\mathcal {P}} ^{*}.\) Now, let \(x=x^{*}(P\left( W_{1}\right) )\in [0,1]^{M}\) denote the unique optimal solution of \(P\left( W_{1}\right) \). Define
where
Composition up \(\left( cu\right) \) For each P in \( {\mathcal {P}}^{*}\), \(W_{1}\le W\), and \(i\in N,\)
Note that P \(\in {\mathcal {P}}^{*}\) implies that \(P\left( W_{1}\right) \in {\mathcal {P}}^{*}\) and \(P\left( W-W_{1},x\right) \in {\mathcal {P}}^{*}\). Furthermore, if f satisfies cu,
Then,
Therefore, equation (4) must hold, otherwise no rule satisfies cu. The following result proves this.
Proposition 2
Let \(P=\left( N,M,W,w,p\right) ,\) \(W_{1}\le W\) and \(x\in [0,1]^{M}\) be the optimal solution of \(P\left( W_{1}\right) .\) Then
The proof is in the Appendix.
All the above properties can be considered as desirable for a rule, but clearly there could be incompatibilities between them. For example, if attention is focused solely on rules that satisfy core selection (securement) then securement (core selection) must be set aside because the two properties are incompatible. We also prove that under independence of irrelevant goods and maximum aspirations, securement is not possible. The proposition below examines these relationships between the properties.
Proposition 3
\(\left( 1\right) \) There is no rule that satisfies core selection and securement.
\(\left( 2\right) \) If a rule satisfies independence of irrelevant goods and maximum aspirations, then it does not satisfy securement.
Proof
\(\left( 1\right) \) Assume that f is a rule that satisfies cs. Consider Example 1. For each \(i\in N,\) \(v^{r}\left( i\right) =\sum \limits _{j\in M}p_{j}^{i}x_{j}^{*}=u_{i}\left( x^{*}\right) \) because \(x^{*N\backslash \left\{ i\right\} }=x^{*}=\left( 0,1,1\right) .\) Now,
Thus, \(c\left( v^{r}\right) =\left( u_{i}\left( x^{*}\right) \right) _{i\in N}.\) Since f satisfies cs, \(f_{1}\left( P\right) =u_{1}\left( x^{*}\right) =0.\) But \(f_{1}\left( P\right) =0<SE_{1}\left( P\right) = \frac{p_{a}^{1}}{3}\). Thus, f does not satisfy se.
(2) Let P be such that \(N=\left\{ 1,2\right\} ,\) \(M=\left\{ a,b\right\} , \) \(W=1,\) \(w_{a}=w_{b}=1,\) \(p_{a}^{1}=1,\) \(p_{b}^{2}=0.9\) and \( p_{b}^{1}=p_{a}^{2}=0.\) Now \(v^{o}\left( 2\right) =0.9\) \(SE_{2}\left( P\right) =0.45,\ \)and \(x^{*}=\left( 1,0\right) .\) If f satisfies ma, \(f_{2}\left( P_{\left\{ a\right\} }\right) =0.\) As \(x_{a}^{*}=1\) and \( x_{b}^{*}=0\) and f satisfies iig, \(f_{2}\left( P\right) =f_{2}\left( P_{\left\{ a\right\} }\right) =0.\) Then, as \(f_{2}\left( P\right) =0<0.45=SE_{2}\left( P\right) ,\) f does not satisfy se. \(\square \)
Core selection is a quite standard property in the literature. Nevertheless, allocations in the core can be very unfair (for instance, some non-dummy agents could receive nothing). In the knapsack problem this could also happen. For instance, in Example 1 there is only one core allocation, which gives 0 to agent 1. Thus, in attempting to find a fair allocation it is sometimes better to look outside the core. For instance, in TU games the Shapley value (Shapley, 1953) could be outside the core.
We believe that securement is a nice fairness property because it guarantees that all non-dummy agents receive something. For instance, in Example 1 it says that agent 1 receives something.
By Proposition 3 core selection and securement are incompatible. Since we consider both properties to be of interest, we study two rules in the paper: One that satisfies core selection and the other securement.
4.1 The rule induced by the optimal solution
This section examines a rule that satisfies core selection. We focus on the rule induced by the optimal solution. We fill the knapsack in the optimal way and each agent receives the revenue given by the knapsack, i.e. there are no transfers between agents. A general knapsack problem can have several optimal solutions, but here we restrict our study to \({\mathcal {P}}^{*},\) where the optimal solution is unique and thus well defined. When we consider rules on \({\mathcal {P}}^{*},\) the properties defined in the previous section need to be supplemented by the additional requirement that each problem P, \(P^{\prime },\) \(P_{M\backslash \left\{ j\right\} },\) \(P(W_{1}),\) \(P\left( W-W_{1},x\right) \) and \(P^{N\backslash \left\{ i\right\} }\) must be in \({\mathcal {P}}^{*}\). We study the properties satisfied by this rule and give several axiomatic characterizations.
Given \(P\in {\mathcal {P}}^{*}\), let \(x^{*}\) denote the unique optimal solution of P. Abusing our notation we denote the rule induced by \(x^{*}\) also as \(x^{*}.\) Namely, \(x_{i}^{*}\left( P\right) =u_{i}\left( x^{*}\right) \) for all \(i\in N.\) Besides, if \(j\in M,\) \(x_{j}^{*}\left( P\right) \) denotes the amount of good j in the optimal solution. We will be more precise when necessary to avoid confusion.
The optimal solution is used by Darmann and Klamler (2014) to define a rule. In that paper, the cost associated with each good, selected by the optimal solution, is divided equally among the agents who approve the good.
In the next theorem we give several axiomatic characterizations of the optimal rule.
Theorem 2
\(\left( 1\right) \) \(x^{*}\) is the unique rule that satisfies core selection and no advantageous splitting.
\(\left( 2\right) \) \(x^{*}\) is the unique rule that satisfies independence of irrelevant goods, composition up, and maximum aspirations.
\(\left( 3\right) \) \(x^{*}\) is the unique rule that satisfies no advantageous splitting, and maximum aspirations.
Besides, the properties used in the above characterizations are independent.
The proof is in the Appendix.
By Proposition 3, core selection and securement are incompatible, so by Theorem 2, \(x^{*}\) fails securement. Furthermore, by Theorem 3 (in the next section) it is known that \(x^{*}\) also fails equal contributions.
4.2 The rule induced by the Shapley value of the optimistic game
This section looks at a rule that satisfies securement. The knapsack is filled in the optimal way and each agent receives the revenue given by the Shapley value of the optimistic game associated with the knapsack problemFootnote 2. In this section we consider the set of all problems \({\mathcal {P}}.\) We study the properties satisfied by this rule and give an axiomatic characterization.
The Shapley value of a game v (Shapley 1953) is denoted by \( Sh\left( v\right) .\) For each \(i\in N\)
The Shapley value is probably, the most popular value in TU games. See Algaba et al. (2019) for a wide-ranging collection of papers that study different aspects of the Shapley value. In general, the Shapley value must be computed with exponential time algorithms, though in some cases, for instance in knapsack budgeted games (Bhagat et al. 2014), it is possible to find polynomial time algorithms or pseudo-polynomial time algorithms that can be used for computing it.
We define the optimistic Shapley rule, denoted by \( Sh^{o}, \) as the rule induced by the Shapley value of the optimistic game.
We now study the properties satisfied by the optimistic Shapley rule.
Proposition 4
The optimistic Shapley rule satisfies maximum aspirations, securement and equal contributions.
The proof is in the Appendix.
We now give a characterization of \(Sh^{o}.\)
Theorem 3
The optimistic Shapley rule is the unique rule that satisfies equal contributions.
The proof is in the Appendix.
It is obvious that \(Sh^{o}\) does not satisfy iig. Since \(Sh^{o}\) satisfies se, by Propositions 3 it follows that \(Sh^{o}\) does not satisfy cs. Since \(Sh^{o}\) satisfies ma, by Theorem 2 (3) it follows that \(Sh^{o}\) fails nas. If \(W_{1}=1\) is taken in Example 1, then \(Sh_{1}^{o}\left( P\right) = \frac{1}{3}p_{a}^{1}\) and \(Sh_{1}^{o}\left( P\left( W_{1}\right) \right) +Sh_{1}^{o}(P\left( W-W_{1},x\right) )=\frac{2}{3}p_{a}^{1}.\) From this it can be deduced that \(Sh^{o}\) does not satisfies cu.
In this paper we focus on the Shapley value of the optimistic game, but the Shapley value of the pessimistic game \(\left( Sh^{p}\right) \) and the Shapley value of the realistic game \(\left( Sh^{r}\right) \) could also be considered. That is not the objective of this paper but some things can nevertheless be said.
We believe that \(Sh^{o}\) has some advantages over \(Sh^{p}\) and \(Sh^{r}.\) First, Myerson (1980) characterized the Shapley value in TU games with the property of equal contributions (called balanced contributions in that paper). This property compares the impact of removing an agent from the problem. Thus, it could be used in problems of many kinds. Actually, many authors have used this property in different problems for characterizing rules based on the Shapley value of an associated cooperative game. If it is used in the knapsack problem the Shapley value of an associated cooperative game - the optimistic game- is also obtained.
Second, we believe that \(Sh^{p}\) and \(Sh^{r}\) could give too much to some agents because both fail maximum aspirations. Let P be such that \( N=\{1,2,3\},\) \(M=\{a,b,c\}\), \(W=1\), \(w_{a}=w_{b}=w_{c}=1.\) \(p_{a}^{1}=0.2,\) \( p_{b}^{1}=p_{c}^{1}=0\), \(p_{b}^{2}=p_{b}^{3}=1,\) \( p_{a}^{2}=p_{c}^{2}=p_{a}^{3}=p_{c}^{3}=0.\) Then, \(Sh_{1}\left( v^{p}\right) =Sh_{1}\left( v^{r}\right) =\frac{2}{3}>MA_{1}\left( P\right) =0.2.\) Thus, according to \(Sh^{p}\) and \(Sh^{r}\) agent 1 obtains more than when the knapsack is assigned only to him/her. This seems unfair.
We now provide two examples of rules that satisfy securement. The first is the Shapley value of the pessimistic gameFootnote 3, which we call the pessimistic Shapley rule. The second is the constrained equal awards rule of an associated bankruptcy problem.
A bankruptcy problem is a triple \(\left( N,E,c\right) \) where \(N\ \)is the set of agents, E is an endowment to be divided among the agents, and \( c=\left( c_{i}\right) _{i\in N}\in {\mathbb {R}}_{+}^{N}\) is a claims profile. See Thomson (2003, 2015) for a detailed discussion on this kind of problems.
The constrained equal-awards rule, CEA, selects, for each (N, E, c), the vector \((\min \{c_{i},\lambda \})_{i\in N}\), where \(\lambda >0\) is chosen so that \(\sum \limits _{i\in N}\min \{c_{i},\lambda \}=E\).
We now associate a bankruptcy problem \(\left( N,E,c\right) \) with each knapsack problem P. Even though the triple \(\left( N,E,c\right) \) must depend on the problem P we abuse our notation and do not include P in the definition. N is the set of agents. E is the total utility given by any optimal solution, namely, \(E=v\left( P\right) \). For each \(i\in N,\) we follow the most standard approach (see, for instance, Bergantiños and Moreno-Ternero 2020 ) and define \(c_{i}\) as the "maximum reasonable amount" that agent i could obtain. In our case we define it according to the property of maximum aspirations. Namely, \(c_{i}=MA_{i}\left( P\right) .\) The rule \(CEA\left( N,E,c\right) ,\) where \(\left( N,E,c\right) \) is the bankruptcy problem associated with a knapsack problem P, is called the constrained equal-awards rule.
Proposition 5
\(\left( 1\right) \)The pessimistic Shapley rule satisfies securement.
\(\left( 2\right) \) The constrained equal-awards rule satisfies securement.
The proof is in the Appendix.
5 Final remarks
Here, we summarize the main findings of the paper and present some conclusions.
In the classical knapsack problem a single agent wants to fill a knapsack with several goods. That agent must decide optimally what goods to select for the knapsack. This problem has been studied in many papers in operations research literature.
We consider the case with several agents with heterogeneous, linear revenues from goods. Two issues need to be considered here: Firstly, as in the single agent case, we select the goods that maximize the aggregate revenue of all agents. Secondly, we divide the aggregated revenue generated by the selected knapsack among the agents. As far as we know the second issue has been studied in very few other papers.
We assign three cooperative games to each knapsack problem. The pessimistic game has already been studied in the literature. The optimistic and realistic games are introduced in this paper. The pessimistic and realistic games have non-empty cores but the optimistic game could have an empty core.
We also consider two rules. The first is based on the optimal solution of the knapsack problem. The second is the Shapley value of the optimistic game. We offer axiomatic characterizations of both rules. The main advantage of the first one is that it is always in the core of the realistic and pessimistic games. The main disadvantage is that it could be rather unfair and some non-dummy agents could get nothing. The rule based on the Shapley value is not so unfair because it guarantees each agent a minimum revenue. The main disadvantage is that it could be outside of the core of the pessimistic and realistic games.
Few papers have studied this problem, so there are many things that could be considered. We give a brief list.
We focus here mainly on the Shapley value of the optimistic game. The Shapley value of the pessimistic and realistic games could also be considered. Is it possible to find nice characterizations of such values?
Instead of studying the Shapley value, the nucleolus of some of the games could be considered.
Bankruptcy problems such as the one mentioned above can also be associated with each knapsack problem. Do the classical bankruptcy rules produce interesting allocations in this setting?
Notes
This ordering of the goods is not necessarily unique because ties are possible.
There are other papers where the Shapley value of the optimistic game is studied. For instance, Bergantiños and Vidal-Puga (2007) study it in minimum cost spanning tree problems.
It is an open question if the Shapley value of the realistic game satisfies securement.
References
Algaba, E., Fragnelli, V., & Sánchez-Soriano, J. (2019). Handbook of the Shapley value. USA: CRC Press, Taylor & Francis Group.
Bhagat, S., Kim, A., Muthukrishnan, S., & U. Weinsberg (2014). The shapley value in knapsack budgeted games. In Liu, T. Y., Qi, Q., Ye, Y. (Eds.) Web and Internet Economics. WINE. Lecture Notes in Computer Science (Vol. 8877). Cham: Springer.
Bergantiños, G., & Lorenzo-Freire, S. (2008). A characterization of optimistic weighted Shapley rules in minimum cost spanning tree problems. Economic Theory, 35, 523–538.
Bergantiños, G., & Moreno-Ternero, J. D. (2020). Sharing the revenues from broadcasting sport events. Management Science, 66(6), 2417–2431.
Bergantiños, G., & Vidal-Puga, J. J. (2007). The optimistic \( TU\) game in minimum cost spanning tree problems. International Journal of Game Theory, 36, 223–239.
Borm, P., Hamers, H., & Hendrickx, R. (2001). Operations research games: A survey. TOP, 9, 139–216.
Bretthauer, K. M., & Shetty, B. (2002). The nonlinear knapsack problem: Algorithms and applications. European Journal of Operational Research, 138, 459–472.
Darmann, A., & Klamler, C. (2014). Knapsack cost sharing. Review of Economic Design, 18, 219–241.
Dror, M. (1990). Cost allocation: The traveling salesman, bin packing, and the knapsack. Applied Mathematics and Computation, 35(2), 191–207.
Kellerer, H., Pferschy, U., & Pisinger, D. (2004). Knapsack problems. Berlin: Springer.
Martello, S., Psinger, D., & Toth, P. (2000). New trends in exact algorithms for the 0–1 knapsack problem. European Journal of Operational Research, 123, 325–332.
Moreno-Ternero, J. D., & Villar, A. (2004). The Talmud rule and the securement of agents’ awards. Mathematical Social Sciences, 47, 245–257.
Myerson, R. (1980). Conference structures and fair allocation rules. International Journal of Game Theory, 9, 169–182.
Nash, J. (1950). The Bargaining problem. Econometrica, 18, 155–162.
O’Neill, B. (1982). A problem of rights arbitration from the Talmud. Mathematical Social Sciences, 2, 345–371.
Pisinger, D., & Toth P. (1998). Knapsack problems. Handbook of Combinatorial Optimization (Volume 1) Springer, pp. 299–428.
Shapley, L. S. (1953). A value for n-person games. In H. W. Kuhn & A. W. Tucker (Eds.), Contributions to the theory of games II (pp. 307–317). Princeton, NJ: Princeton University Press.
Thomson, W. (2003). Axiomatic and game-theoretic analysis of bankruptcy and taxation problems: A survey. Mathematical Social Sciences, 45, 249–297.
Thomson, W. (2015). Axiomatic and game-theoretic analysis of bankruptcy and taxation problems: An update. Mathematical Social Sciences, 74, 41–59.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Funding
Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. Arribillaga acknowledges financial support from Universidad Nacional de San Luis, through grant 319502, and from Consejo Nacional de Investigaciones Científicas y Técnicas (CON- ICET), through grant PIP 112-200801-00655. The work of G. Bergantiňos is partially supported by research grants ECO2017-82241-R from ”Ministerio de Economía y Competitividad”, and ED431B 2019/34 from ”Xunta de Galicia”. Funding for open access charge: Universidade de Vigo/CISUG.
Conflict of interest
Not applicable.
Availability of data and materials
Not applicable.
Code availability
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Proofs of the results
Appendix: Proofs of the results
Proof of Proposition 1
\(\left( a\right) \) Let P be a problem and \(S\subset N.\) Let \(y\in FS\left( P\right) \) be such that \(\sum \nolimits _{i\in S}u_{i}\left( y\right) =v^{p}\left( S\right) .\) Let \(T\subset S.\) Since
it follows that \(\left( u_{i}\left( y\right) \right) _{i\in S}\) belongs to the core of \(\left( S,v^{p}\right) .\) Thus, \(v^{p}\) satisfies total balancedness.
Total balancedness implies superadditivity, so \(v^{p}\) satisfies superadditivity.
Since superadditivity implies monotonicity when the game is non-negative and \(v^{p}\) is non-negative, \(v^{p}\) satisfies monotonicity.
In Example 1, \(v^{p}\left( 1,2\right) >v^{p}\left( 1\right) +v^{p}\left( 2\right) .\) Thus, \(v^{p}\) does not satisfy subadditivity.
Let P be such that \(N=\left\{ 1,2,3,4,5\right\} \), \(M=\left\{ a,b,c\right\} \), \(W=1,\) \(w_{a}=w_{b}=w_{c}=1,\) \(p_{a}^{i}=1\) for all \(i\le 4,\) \(p_{i}^{b}=p_{i}^{c}=0\) for all \(i\le 4,\) \(p_{a}^{5}=0,\) \(p_{b}^{5}=2,\) and \(p_{c}^{5}=10.\)
Since \(v^{p}\left( 5\right) =0,\) \(v^{p}\left( 1,5\right) =1\), \(v^{p}\left( 2,3,5\right) =2,\) and \(v^{p}\left( 1,2,3,5\right) =2\) it can be deduced that \(v^{p}\) does not satisfy convexity.
\(\left( b\right) \) Let P be a problem and \(S\subset T.\) Let \(y\in FS\left( P\right) \) be such that \(\sum \limits _{i\in S}u_{i}\left( y\right) =v^{o}\left( S\right) .\) Now,
Thus, \(v^{o}\) satisfies monotonicity.
Let P be a problem and \(S,T\subset N\) with \(S\cap T=\varnothing .\) Let \( y\in FS\left( P\right) \) be such that \(\sum \limits _{i\in S\cup T}u_{i}\left( y\right) =v^{o}\left( S\cup T\right) .\) Now,
Thus, \(v^{o}\) satisfies subadditivity.
In Example 1, \(v^{o}\left( 1,2\right) <v^{o}\left( 1\right) +v^{o}\left( 2\right) .\) Thus, \(v^{o}\) does not satisfy superadditivity.
It is argued above that the core of \(\left( N,v^{o}\right) \) could be empty. Thus \(v^{o}\) does not satisfy total balancedness.
Since convexity implies superadditivity, so it can be deduced that \(v^{o}\) does not satisfy convexity.
\(\left( c\right) \) Let P be such that \(N=\left\{ 1,2,3\right\} \), \( M=\left\{ a,b\right\} \), \(W=1,\) \(w_{a}=w_{b}=1,\) \(p_{a}^{1}=1,p_{b}^{1}=0\), \( p_{a}^{2}=p_{a}^{3}=0,\) and \(p_{b}^{2}=p_{b}^{3}=2.\)
Since \(v^{r}\left( 1\right) =v^{r}\left( 2,3\right) =0\) and \(v^{r}\left( 1,2,3\right) =4\) it can be deduced that \(v^{r}\) does not satisfy subadditivity.
Since \(v^{r}\left( 3\right) =2\) and \(v^{r}\left( 2,3\right) =0\) it can be deduced that \(v^{r}\) does not satisfy monotonicity.
Since convexity implies total balancedness, total balancedness implies superadditivity, and superadditivity implies monotonicity (for non-negative games), it can be deduced that \(v^{r}\) does not satisfy superadditivity, total balancedness, or convexity. \(\square \)
Proof of Proposition 2
Let \(P=\left( N,M,W,w,p\right) \in {\mathcal {P}}^{*},\) \(W_{1}\le W\) and \( x=x^{*}\left( P\left( W_{1}\right) \right) \in [0,1]^{M}\) the optimal solution of \(P\left( W_{1}\right) .\) We prove that
Let \(x^{*}=x^{*}\left( P\right) .\) Let \(s\in {\mathbb {N}}\) be given by ( 3) . Thus, there exists \(t\le s\) such that \(x_{j}=1\) for all \(j<t,\) \(0<x_{t}\le 1,\) and \(x_{j}=0\) for all \(j>t.\)
Assume that \(x_{t}<1\) and \(t<s\) (the other cases are similar and we omit them). Thus \(M_{x}=\left\{ t,\ldots ,m\right\} ,\) \(\left( w_{x}\right) _{t}=w_{t}(1-x_{t})\), \(\left( w_{x}\right) _{j}=w_{j}\) for all \(j>t,\) \( \left( p_{x}^{i}\right) _{t}=p_{t}^{i}(1-x_{t})\), \(\left( p_{x}^{i}\right) _{j}=p_{j}^{i}\) for each \(i\in N,\) for all \(j>t\). Thus,
Hence \(P\left( W-W_{1},x\right) \in {\mathcal {P}}^{*}.\)
Now we prove that
We consider several cases.
Case 1. \(j<t\). This cases follows from the fact that \(x_{j}^{*}=x_{j}=1.\)
Case 2. \(t\le j<s\). Thus \(x_{j}^{*}=1.\) As, \( w_{1}+\cdots +w_{j}\le W,\) \(w_{1}+\cdots +w_{t}x_{t}=W_{1}\), and \(\left( w_{x}\right) _{t}=(1-x_{t})w_{t}\)
Thus,
Hence,
Case 3: \(j=s\). Thus, \(x_{j}=0\) and \(x_{j}^{*}>0.\) As, \( w_{1}+\cdots +x_{j}^{*}w_{j}=W,\) \(w_{1}+\cdots +w_{t}x_{t}=W_{1}\), and \(\left( w_{x}\right) _{t}=(1-x_{t})w_{t}\)
Thus,
Hence,
Case 4: \(j>s\). Then, \(x_{j}^{*}=x_{j}=0\). As, \( w_{1}+\cdots +w_{j-1}\ge W,\) \(w_{1}+\cdots +w_{t}x_{t}=W_{1}\), and \(\left( w_{x}\right) _{t}=(1-x_{t})w_{t}\)
Then,
Hence,
Therefore,
Since \(x_{j}=0\) if \(j>t,\) \((p_{x})_{j}^{i}=p_{j}^{i}(1-x_{j})\) if \(j\ge t,\) and (6)
\(\square \)
Proof of Theorem 2
First, we prove that \(x^{*}\) satisfies cs, iig, cu, ma and nas. It is obvious that \(x^{*}\) satisfies iig and ma. By the proof of Theorem 1, \(x^{*}\) satisfies cs.
We now prove that \(x^{*}\) satisfies cu. Let P and \(W_{1}\) be as in the definition of cu. Let t be as in the proof of Proposition 2. For all \(i\in N,\)
Since \(x_{j}=0\) if \(j>t,\) \((p_{x})_{j}^{i}=p_{j}^{i}(1-x_{j})\) if \(j\ge t\). By (6)
Thus \(x^{*}\) satisfies cu.
Let P and \(P^{\prime }\) be as in the definition of nas. Since \( p_{j}=p_{j}^{\prime }\) for all \(j\in M,\) \(x_{j}^{*}(P)=x_{j}^{*}(P^{\prime })\) for all \(j\in M.\) Now,
Thus, \(x^{*}\) satisfies nas.
We now prove uniqueness.
\(\left( 1\right) \) Let f be a rule satisfying cs and nas. We prove that \(f_{i}(P)=x_{i}^{*}(P)\) for all \(i\in N\) and all \(P\in {\mathcal {P}} ^{*}.\) Given a problem \(P\in {\mathcal {P}}^{*},\) it is known that there exists \(s\in {\mathbb {N}}\) such that \(x_{j}^{*}\left( P\right) =1\) for all \(j<s,\) \(0<x_{s}^{*}\left( P\right) \le 1,\) and \(x_{j}^{*}\left( P\right) =0\) for all \(j>s\) and
First, we give an idea of the proof. We consider a problem \(P^{\prime }=\left( N^{\prime },M,W,w,p^{\prime }\right) \) that emerges from P when agent i is divided in many agents. If the number of copies of i is large enough it can be assumed with certainty that the optimal solution for \( P^{\prime N\backslash \{i^{\prime }\}},\) where \(i^{\prime }\) is any copy of i, is equal to the optimal solution of the original problem P. Thus, the realistic value in each single coalition, that is a copy of \(\{i\},\) is obtained in \(x^{*}(P).\) Thus, cs and nas ensures that \(f_{i}\left( P\right) \ge x_{i}^{*}(P)\) for all i \(\in N\). Thus, the equality holds.
Let \(i\in N.\) By (7), it is possible to find \(h_{i}\in {\mathbb {N}}\) large enough for
Let \(N\subset N^{\prime }\) be such that \(\left| N^{\prime }\backslash N\right| =h_{i}-1\). Consider \(P^{\prime }=\left( N^{\prime },M,W,w,p^{\prime }\right) \) such that \(p^{\prime i}=\frac{p^{i}}{h_{i}},\) \( p^{\prime k}=\frac{p^{i}}{h_{i}}\) for all \(k\in N^{\prime }\backslash N\) and \(p^{\prime k}=p^{k}\) for all \(k\in N\backslash \{i\}.\) By nas,
Furthermore, if \(i^{\prime }\in \{i\}\cup N^{\prime }\backslash N\) and \(j\in M\)
By (8),
By definition of \(v_{P^{\prime }}^{r}(i^{\prime })\)
By cs,
By (9),
Since
and (10),
(2) Let f be a rule satisfying iig, cu, and nas. We prove that \( f_{i}(P)=x_{i}^{*}(P)\) for all \(i\in N\) and all \(P\in {\mathcal {P}}^{*}.\) Let s be as in ( 3) .
The idea of the proof is to apply composition up several times. At each step, the solution of one of the problems is obtained under iig and nas. Start with \(P(w_{1}).\) Then, apply cu to the problem \(P\left( W-w_{1},x^{*}\right) \) to obtain the problems \(P\left( W-w_{1},x^{*}\right) (w_{2})\) and \(P\left( W-w_{1}-w_{2},x^{*}\right) \). Solve \( P\left( W-w_{1},x^{*}\right) (w_{2})\) and then continue.
Take \(W_{1}=w_{1}.\) Let \(x=x^{*}(P(W_{1}))\), thus \(x_{1}=1\), \(x_{j}=0\) for all \(j\in M\backslash \{1\}\) and
By cu,
By iig
For each \(i\in N\), \(MA_{i}\left( P\left( w_{1}\right) _{\left\{ 1\right\} }\right) =p_{1}^{i}.\) By ma, \(f_{i}\left( P\left( w_{1}\right) _{\left\{ 1\right\} }\right) \le p_{1}^{i}\) for each \(i\in N.\)
Since
for each \(i\in N,\)
Now apply cu to problem \(P\left( W-w_{1},x\right) \) by taking \( W_{1}=w_{2}. \) Abusing the notation, denote the first problem given by cu as \(P\left( w_{2}\right) \) and by the second as \(P\left( W-w_{1}-w_{2}\right) \). Using arguments similar to those used for \(P\left( w_{1}\right) ,\) it can be deduced that for each \(i\in N,\)
Continuing to apply cu it is obtained that for each \(i\in N,\)
Besides, for each \(j=1,\ldots ,s-1\) and each \(i\in N,\)
and for each \(i\in N,\)
Thus, for each \(i\in N,\)
\(\left( 3\right) \) Let f be a rule satisfying ma and nas. We prove that \(f_{i}(P)=x_{i}^{*}(P)\) for all \(i\in N\) and all \(P\in {\mathcal {P}} ^{*}\). The proof is obtained by induction on n, the number of agents.
When \(n=1,\) it is clear that \(f_{1}\left( P\right) =x_{1}^{*}(P).\)
Assume that \(N=\{1,2\}.\) Given a problem P, let s be as in (3) . Since \(P\in {\mathcal {P}}^{*},\)
Let \(d_{1}\in {\mathbb {N}}\) be such that
Now divide agent 2 into \(d_{1}\) copies (including the original). Let \( N\subset N^{\prime }\) be such that \(\left| N^{\prime }\backslash N\right| =d_{1}-1.\) Consider \(P^{\prime }=\left( N^{\prime },M,W,w,p^{\prime }\right) \) such that \(p^{\prime 1}=p^{1},\) \(p^{\prime 2}= \frac{p^{2}}{d_{1}}\) and \(p^{\prime k}=\frac{p^{2}}{d_{1}}\) for all \(k\in N^{\prime }\backslash N.\) By nas,
Since \(\sum \nolimits _{i\in N}f_{i}\left( P^{\prime }\right) =v\left( P^{\prime }\right) =v\left( P\right) =\sum \limits _{i\in N}f_{i}\left( P\right) ,\)
Now, consider the problem \(P^{\prime \prime }=\left( N,M,W,w,p^{\prime \prime }\right) \) such that \(P^{\prime }\) is obtained from \(P^{\prime \prime }\) when agent 1 is divided into the agents in \(\left\{ 1\right\} \cup \left( N^{\prime }\backslash N\right) .\) Let \(P^{\prime \prime }=\left( N,M,W,w,p^{\prime \prime }\right) \) such that \(p^{\prime \prime 1}=p^{\prime 1}+\sum \limits _{k\in N^{\prime }\backslash N}p^{\prime k}\) and \(p^{\prime \prime 2}=p^{\prime 2}=\frac{p^{2}}{d_{1}}.\)
By nas,
As \(p_{j}^{\prime \prime 1}=p_{j}^{\prime 1}+\sum \limits _{k\in N^{\prime }\backslash N}p_{j}^{\prime k}=p_{j}^{1}+(1-\frac{1}{d_{1}})p_{j}^{2}\) for all \(j\in M,\) by (11),
Since \(x_{j}^{*}(P^{\prime \prime })=x_{j}^{*}(P^{\prime })\) for all \(j\in M\) and ma,
Since \(\sum \limits _{i\in N^{\prime }}f_{i}\left( P^{\prime }\right) =v\left( P^{\prime }\right) \) and (16),
Similarly, taking \({\bar{k}}\in N^{\prime }\backslash N\) and consider \( P^{\prime \prime \prime }=\left( N^{\prime \prime \prime },M,W,w,p^{\prime \prime \prime }\right) \) such that \(N^{\prime \prime \prime }=\{1,{\bar{k}}\}\) and \(p^{\prime \prime \prime 1}=p^{\prime 1}+p^{\prime 2}+\sum \limits _{k\in N^{\prime }\backslash \left( N\cup \{{\bar{k}}\}\right) }p^{\prime k}\) and \( p^{\prime \prime \prime {\bar{k}}}=p^{\prime 2}=\frac{p^{2}}{d_{1}},\) it can be proved that
Thus, for all \(k\in N^{\prime }\backslash N\)
Since \(x^{*}\left( P\right) =x^{*}\left( P^{\prime }\right) \), \( p^{1}=p^{\prime 1},\) and (13)
Similarly it can be proved that
Since \(\sum \limits _{i\in N}f_{i}\left( P\right) =v\left( P\right) ,\) for all i \(\in N,\)
We now consider the case \(n\ge 3.\) Assuming that the result is true when there are fewer than n agents, we prove it for n.
Claim 1 For any \(P\in {\mathcal {P}}^{*}\) and any pair of agents \( i,k\in N\) (\(i\ne k\))
Proof of Claim 1 Define \(P^{+}=\left( N^{+},M,W,w,p^{+}\right) \) such that \(N^{+}=N\backslash \{k\}\) and \( p^{+i}=p^{i}+p^{k}\) and \(p^{+t}=p^{t}\) for all \(t\in N^{+}\backslash \left\{ i\right\} .\) By the induction hypothesis for all \(t\in N^{+}\)
By nas,
\(\square \)
Set \(i\in N,\) by Claim 1,
Since \(n\ge 3\) and \(\sum \limits _{k\in N}f_{k}\left( P\right) =v\left( P\right) =\sum \limits _{k\in N}x_{k}^{*}\left( P\right) ,\)
By (26) for all \(i\in N\),
We now prove that the properties used in the above characterization are independent.
\(\left( 1\right) \) Let \({\bar{P}}\) be the problem in Example (2 ). Let \(f^{\delta }\) be such that, \(f^{\delta }\left( P\right) =x^{*}(P)\) if \(P\ne {\bar{P}}\) and \(f^{\delta }\left( {\bar{P}}\right) =\left( 0.7,2,2\right) .\) This rule satisfies cs, but fails nas.
Let \(f^{\gamma }\) be such that the total revenue given by each good j is divided among the agents proportionally to the revenue that each agent brings to the goods in \(x^{*}.\) Namely, given \(i\in N\) and \(j\in M\) define:
This rules satisfies nas but fails cs.
\(\left( 2\right) \) Let \(f^{\alpha }\) be such that the total revenue given by each good is divided equally among the agents who bring positive revenue to that good. Namely, given \(i\in N\) and \(j\in M\) define:
This rule satisfies iig and cu but fails ma.
Let \(f^{\beta }\) be such that the total revenue is divided as equally as possible among the agents in such a way that no agent gets more than his/her maximum aspiration. Namely, given a problem P and \(i\in N,\)
This rule satisfies ma and cu but fails iig.
Let \(f^{\pi }\) be such that given \(i\in N\) and \(j\in M\), the following can be defined:
Now, assume that \(N=\{i_{1},...i_{n}\}\) such that \(y^{i_{1}}\ge y^{i_{2}}...\ge y^{i_{n}}.\) Notice that \(u_{i}\left( x^{*}\right) \le y^{i}\le MA_{i}\left( P\right) \) for all \(i\in N.\) Define
This rule satisfies ma and iig but fails cu.
\(\left( 3\right) \) \(f^{\beta }\) satisfies ma but fails nas.
\(f^{\gamma }\) satisfies nas but fails ma. \(\square \)
Proof of Proposition 4
ma. Since the Shapley value is an average of marginal contributions, it is enough to prove that for each problem P, each \(i\in N,\) and each \(S\subset N\backslash \left\{ i\right\} \) it holds that \(v_{P}^{o}\left( S\cup \left\{ i\right\} \right) -v_{P}^{o}\left( S\right) \le MA_{i}\left( P\right) .\)
Let \(y,y^{\prime }\in FS\left( P\right) \) be such that \(v_{P}^{o}(S\cup \left\{ i\right\} )=\sum \nolimits _{k\in S\cup \left\{ i\right\} }\sum \nolimits _{j\in M}p_{j}^{k}y_{j}\) and \(v_{P}^{o}(S)=\sum \nolimits _{k\in S}\sum \nolimits _{j\in M}p_{j}^{k}y_{j}^{\prime }.\) Now,
By definition of \(y^{\prime },\) \(\sum \nolimits _{k\in S}\sum \nolimits _{j\in M}p_{j}^{k}y_{j}-\sum \nolimits _{k\in S}\sum \nolimits _{j\in M}p_{j}^{k}y_{j}^{\prime }\le 0.\) Thus,
se. Let P be a problem and \(i\in N.\) Since \(v^{o}\left( i\right) =SE_{i}\left( P\right) n\) and \(v^{o}\left( S\cup i\right) \ge v^{o}\left( S\right) \) for all \(S\subset N\), it holds that \(Sh_{i}^{o}\left( P\right) \ge SE_{i}\left( P\right) .\)
ec. Let P be a problem and \(i,k\in N.\) Let \(\left( N,v_{P}^{o}\right) \) be the corresponding optimistic game. Myerson (1980) proved that the Shapley value satisfies equal contributions in TU games. Thus,
Since \(f_{i}^{o}\left( P\right) =Sh_{i}\left( N,v_{P}^{o}\right) \) and \( f_{k}^{o}\left( P\right) =Sh_{k}\left( N,v_{P}^{o}\right) ,\) it is enough to prove that \(f_{i}^{o}\left( P^{N\backslash \left\{ k\right\} }\right) =Sh_{i}\left( N\backslash \left\{ k\right\} ,v_{P}^{o}\right) \) and \( f_{k}^{o}\left( P^{N\backslash \left\{ i\right\} }\right) =Sh_{k}\left( N\backslash \left\{ i\right\} ,v_{P}^{o}\right) .\) We prove that \( f_{i}^{o}\left( P^{N\backslash \left\{ k\right\} }\right) =Sh_{i}\left( N\backslash \left\{ k\right\} ,v_{P}^{o}\right) \) (the other case is similar so we omit it). Since \(f_{i}^{o}\left( P^{N\backslash \left\{ k\right\} }\right) =Sh_{i}\left( N\backslash \left\{ k\right\} ,v_{P^{N\backslash \left\{ k\right\} }}^{o}\right) \), it is enough to prove that for each \( T\subset N\backslash \left\{ k\right\} ,\) \(v_{P}^{o}\left( T\right) =v_{P^{N\backslash \left\{ k\right\} }}^{o}\left( T\right) .\) Notice that,
Thus,
\(\square \)
Proof of Theorem 3
By Proposition 4, \(Sh^{o}\) satisfies ec.
We now prove uniqueness. This proof is quite standard in the literature. Let f be a rule satisfying ec. We prove it by induction on n.
If \(n=1,\) then \(f_{1}\left( P\right) =x_{1}^{*}=Sh_{1}^{o}(P).\) Assuming that the result is true when there are fewer than n agents, we prove it for n. By ec, for all \(i\in N\backslash \left\{ 1\right\} ,\)
By the induction hypothesis, \(\sum \nolimits _{i\in N\backslash \left\{ 1\right\} }\left( f_{i}\left( P^{N\backslash \left\{ 1\right\} }\right) -f_{1}\left( P^{N\backslash \left\{ i\right\} }\right) \right) \) is known. Since \(\sum \nolimits _{i\in N}f_{i}\left( P\right) =\sum \nolimits _{i\in N}x_{i}^{*}.\)
Thus, \(f_{1}\left( P\right) \) is uniquely determined. Let \(i\in N\backslash \left\{ 1\right\} .\) By ec,
which means that \(f_{i}\left( P\right) \) is uniquely determined. \(\square \)
Proof of Proposition 5
\(\left( 1\right) \) Let P be a problem and \(i\in N.\) It has been seen that \( \frac{v^{o}\left( i\right) }{n}=SE_{i}\left( P\right) \). Since \(v^{p}\) is monotonic (Proposition 1) \(v^{p}\left( S\right) \ge v^{p}(S\backslash \{i\})\) for all \(S\subset N\). Thus, it is enough to prove that for each problem P and each \(i\in N,\) \(v^{p}\left( N\right) -v^{p}(N\backslash \{i\})\ge v^{o}\left( i\right) .\) By definition,
Let \(x^{*i}\) be an optimal solution for \(\{i\}\). Namely \(v^{o}\left( i\right) =u_{i}\left( x^{*i}\right) .\) Thus
Thus, \(Sh\left( v^{p}\right) \) satisfies securement.
\(\left( 2\right) \) Moreno-Ternero and Villar (2004) prove that for each bankruptcy problem \(\left( N,E,c\right) \) and for each \(i\in N,\)
Let \(\left( N,E,c\right) \) be the bankruptcy problem associated with the knapsack problem P. Thus,
Hence, \(CEA\left( N,E,c\right) \) satisfies securement. \(\square \)
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Arribillaga, R.P., Bergantiños, G. Cooperative and axiomatic approaches to the knapsack allocation problem. Ann Oper Res 318, 805–830 (2022). https://doi.org/10.1007/s10479-021-04315-6
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10479-021-04315-6