Dividing Conflicting Items Fairly
Abstract
We study the allocation of indivisible goods under conflicting constraints, represented by a graph. In this framework, vertices correspond to goods and edges correspond to conflicts between a pair of goods. Each agent is allocated an independent set in the graph. In a recent work of Kumar et al. [21], it was shown that a maximal EF1 allocation exists for interval graphs and two agents with monotone valuations. We significantly extend this result by establishing that a maximal EF1 allocation exists for any graph when the two agents have monotone valuations. To compute such an allocation, we present a polynomial-time algorithm for additive valuations, as well as a pseudo-polynomial time algorithm for monotone valuations. Moreover, we complement our findings by providing a counterexample demonstrating a maximal EF1 allocation may not exist for three agents with monotone valuations; further, we establish NP-hardness of determining the existence of such allocations for every fixed number of agents. All of our results for goods also apply to the allocation of chores.
1 Introduction
How can we allocate a resource fairly? This problem was first formalized by the pioneering work of Steinhaus [25] and has since been extensively studied in the fields of economics, mathematics, and computer science under the umbrella of fair division. Applications of fair division arise in many real-life situations, including the allocation of courses among students [11], the division of family inheritance among family members [15], and the division of household chores between couples [19].
A central notion of fairness in fair division is envy-freeness, which requires that every agent is allocated their most preferred bundle in the allocation. However, such a fairness guarantee is impossible to achieve when dealing with indivisible resources, such as courses, houses, or tasks. Consequently, recent literature on discrete fair division has focused on approximate fairness, exploring various concepts and algorithmic results [1]. One particular influential relaxation of envy-freeness is, envy-freeness up to one good (EF1), introduced by Budish [10], allowing agents to remove one good from others’ bundle to eliminate envy. This concept has garnered significant attention over the past decade. It is known that for general classes of monotone valuations, an EF1 allocation exists and can be computed efficiently [23].
Most studies on fair division assume that any allocation is feasible. While this assumption may hold in some cases, many practical scenarios involve constraints that restrict the structure of allocations. For instance, consider the allocation of multiple offices among several people over different periods of time. If the time intervals associated with two offices overlap, they cannot be assigned to the same person. Similar constraints arise in job scheduling, where overlapping shifts cannot be allocated to the same employee. Another example is the allocation of players to sports teams. If two players have overlapping areas of expertise, it is preferable not to assign them to the same team. A versatile framework for modeling such constraints, explored in a series of recent papers [12, 18, 21], represents conflicts among indivisible resources using a graph structure, where vertices correspond to resources and edges represent conflicts.
Conflicting constraints introduce new challenges, as standard fairness and efficiency concepts often become unattainable. Notably, canonical efficiency concepts such as completeness and Pareto-optimality are incompatible with EF1 under these constraints. In fact, with conflicting constraints, a complete allocation that assigns all goods may not always exist. Furthermore, even if such an allocation exists, there are simple instances where a complete EF1 allocation is unattainable [18].
Kumar et al. [21] studied chore allocation under conflicting constraints, observing that even on a path, EF1 is incompatible with Pareto-optimality for two agents with identical additive valuations.111In [21], Pareto-optimality is defined with respect to maximal allocations. To address this limitation, they introduced the notion of maximality. A maximal allocation ensures that no unassigned item can be feasibly allocated to some agent. Kumar et al. showed that for interval graphs—a common structure in job scheduling—a maximal EF1 allocation among two agents always exists and can be efficiently found for monotone valuations. However, the existence of a maximal EF1 allocation for more general graph families remains unresolved, offering a rich avenue for further research.
Our contributions.
In this paper, we study the allocation of indivisible goods under conflicting constraints. Our goal is to identify conditions under which a maximal EF1 allocation exists and can be efficiently computed. Our main contributions are as follows:
-
1.
Two-Agent-Case: We significantly extend the result of Kumar et al. [21] by establishing that a maximal EF1 allocation exists for any graph when the agents have monotone valuations. Further, we develop efficient algorithms for finding such allocations, including a polynomial-time algorithm for additive valuations and a pseudo-polynomial-time algorithm for monotone valuations. Note that the two-agent case is of particular importance in fair division, with various applications, including inheritance division, house-chore division, and divorce settlements [7, 8, 19].
-
2.
Three or More Agents: We establish a sharp dichotomy from the two-agent case in terms of both existence and computational complexity. First, we provide an example where a maximal EF1 allocation fails to exist, even for three agents with monotone valuations. While Hummel and Hetland [18] previously identified a counterexample for four agents, no such example was known for three agents. We also prove the NP-hardnesss of determining the existence of a maximal EF1 allocation for a fixed number of agents with monotone valuations.
-
3.
Chore Allocation: Finally, we consider the problem of chore allocation, where each agent has a monotone non-increasing valuation. We show that the existence of a maximal EF1 allocation under identical valuations directly translates from the goods case, establishing that all our results for goods hold for chores as well.
Related work.
There is a growing body of research on fair division under constraints. For a comprehensive survey on the topic, see Suksompong [26]. Conflicting constraints in the context of fair division were introduced by Chiarelli et al. [12] and have been further explored by [18, 21, 5, 22]. Chiarelli et al. [12] explored different fairness objectives from ours, focusing on partial allocations that maximize the egalitarian social welfare—defined as the value of a bundle received by the worst-off agent. Hummel and Hetland [18] studied complete allocations satisfying fairness criteria such as EF1 and MMS (maximin fair share). Biswas et al. [5] generalized the model of [18], taking into account capacity of resources. Li et al. [22] and Kumar et al. [21] considered an interval scheduling problem, with the goal of achieving fairness concepts such as EF1 and MMS. While Li et al. [22] focused on goods allocation with flexible intervals, Kumar et al. [21] examined chore allocation.
Our problem is closely related to the problem of equitable coloring in graph theory, which corresponds to a complete EF1 allocation when agents have uniform valuations (namely, all goods are equally valued ). In Appendix B, we make this connection more precise and show that for such valuations, a maximal EF1 allocation exists on trees.
A related type of constraints to conflicting constraints is the connectivity constraints of a graph [4, 6], where each agent receives a connected bundle of a graph. Note that while connectivity constraints imposed by a sparse graph such as a tree allow fewer feasible allocations, in our setting, sparsity implies greater flexibility, as it increases the number of feasible allocations.
2 Preliminaries
For any natural number , let .
Problem instance.
We use to denote the set of goods and to denote the set of agents. Let denote an undirected graph, where each vertex corresponds to a good and each edge corresponds to a conflict. Each agent has a valuation function ; here, is the set of non-negative reals. We assume that . For simplicity, the valuation of a single good , , is denoted by . An instance of our problem is given by the tuple where denotes a valuation profile. We use to denote a complete bipartite graph with a bipartition in which one part contains vertices and another part includes vertices.
Valuation function.
A valuation function is monotone non-decreasing if for every . Unless specified otherwise, we refer to such a function simply as monotone. It is additive if holds for every and . A valuation profile is called identical if every agent has the same valuation function; in this case, we denote this function by . Let denote the time to compute valuation for a given .
Allocation.
An allocation is an ordered subpartition of where for every pair of distinct agents , , , and for each , is an independent set of , namely, there is no pair of goods in that are adjacent to each other. The subset is called the bundle of agent . An allocation is complete if all goods are allocated, i.e., .
Fairness and efficiency notions.
An allocation is envy-free if for every pair of agents , we have [13, 14]. It is called envy-free up to one good (EF1) if for every pair of agents , either , or there exists some good such that [10, 23].
As discussed in the Introduction, observe that a complete allocation may not always exist (e.g., consider a complete graph with one agent). Further, even when a complete allocation exists, a complete EF1 allocation may not exist: For instance, in a setting with agents and a star where the center has a value of and each of the leaves has a value of , an agent receiving the center cannot receive any other good, while at least one agent receives two or more leaves.
Besides completeness, another commonly used notion of efficiency in fair division is Pareto-optimality. Similar to the chore setting [21], EF1 is incompatible with Pareto-optimality for goods instances. Specifically, an allocation Pareto-dominates another allocation if for every and the inequality is strict for at least one agent. An allocation is Pareto-optimal (PO) if there is no other allocation that Pareto-dominates it. Consider two agents and a cycle of four goods with values in order. In any EF1 allocation, no agent should receive both goods of value , and no agent can receive two goods of different values due to conflicting constraints. However, such an allocation is Pareto-dominated by assigning the two high-value goods to one agent and the two low-value goods to the other.
As in Kumar et al. [21], we therefore consider a relaxed efficiency notion of maximality. An allocation is maximal if for every agent and every unallocated good , is adjacent to some good in . Our goal is to achieve an allocation that simultaneously satisfies maximality and EF1.
3 Two Agents
In this section, we consider the case of two agents.
3.1 Cut-and-Choose Protocol
When there are two agents, we can use a well-known strategy called cut-and-choose protocol [9].
Theorem 1.
Suppose that a maximal EF1 allocation always exists and can be computed in time for instances with two agents and identical valuations. Then, a maximal EF1 allocation always exists and can be computed in time for instances with two agents.
Proof.
Let a maximal EF1 allocation in a hypothetical scenario that valuations of both agents are . Then, agent chooses a preferred bundle, leaving the reminder for . The resulting allocation is maximal and EF1. ∎
Now, the question is whether a maximal EF1 allocation exists for identical valuations. In subsections 3.2-3.5, we assume that the valuations are identical and monotone, and valuations for both agents are represented by .
3.2 Proof Strategy of Kumar et al.
To describe our proof strategy, let us (informally) review Kumar et al.’s proof of the existence of maximal EF1 allocation when is a path. At a high level, the idea of the proof is to construct a chain of maximal allocations , as illustrated in Figure 1, satisfying the following two properties: (i) adjacent allocations only “differ slightly” and (ii) . The latter implies that the signs of and are different. Therefore, there exists an that the signs of and are different. At this point, they show that at least one of or must be EF1, which shows the existence of a maximal EF1 allocation. This concludes the proof overview of [21] for path graphs. They also extended this method to interval graphs, although the construction of the chain of maximal allocations becomes significantly more involved. Indeed, as explained and formalized below, our main contribution is to give a construction of a chain for any graph.

3.3 Useful Definitions and Lemmata
Our construction will require several generalizations of definitions and lemmata from Kumar et al. [21]. We believe that these tools can be useful beyond the context of our work. Firstly, we use the following definition of “adjacency”. Compared to [21], our definition (Definition 2) is more relaxed, in that it does not place any requirement on and whereas Kumar et al.’s enforces that these are at most one. Such a relaxation is crucial since our “chain” constructed below violates the aforementioned Kumar et al.’s condition.
Definition 2.
A pair of allocations is ordered adjacent if and .
The following is the key lemma that enables to find an EF1 allocation at the point when crosses from positive to negative.
Lemma 3.
Let be any ordered adjacent pair of allocations. Further, assume that the following conditions hold:
-
1.
-
2.
Then, at least one of or must be EF1.
Proof.
Suppose that the allocation is not EF1. Since , agent envies agent even if one good is removed from . Since , we must have . As a result,
(1) |
where the first and third inequalities hold because is monotone. Now, consider the allocation :
-
•
Since , (1) implies that agent does not envy agent after removing a good from .
-
•
Agent does not envy agent since .
Therefore, this allocation is EF1. ∎
We generalize Kumar et al.’s method by defining a gapless chain, and prove that any gapless chain must contain an EF1 allocation. We stress again that our requirements are weaker than the chain used in Kumar et al.’s222Namely, we use a weaker adjacency notion and we only require the sign flip (first two conditions) whereas Kumar et al. require that ., but still suffices to ensure EF1 for identical valuations.
Definition 4.
A sequence of allocation is a gapless chain if it satisfies the following conditions:
-
1.
.
-
2.
.
-
3.
is ordered adjacent for every .
Lemma 5.
If is a gapless chain, there exists an that is EF1.
Proof.
From the first two conditions, there exists that and . Lemma 3 then implies that at least one of or is EF1. ∎
Given Lemma 5, our main task is thus to (efficiently) construct a gapless chain of maximal allocations (for any graph ). We devote the remainder of this section to this task.
3.4 Proof of Existence
Now, we prove that, a maximal EF1 allocation always exists for two agents, as stated below.
Theorem 6.
For agents, any graph and any monotone valuation , there exists a maximal EF1 allocation.
Although we only claim the existence in the above theorem, we will in fact present an algorithm for finding such an allocation, as its running time will be discussed in the next section. Our algorithm is presented in Algorithm 1 where the input can be any maximal independent set of . To prove Theorem 6, we will use one that maximizes . In Figure 2, we provide an example of a chain constructed by the algorithm.

We now prove a couple of crucial lemmata. Starting with the fact that each allocation is valid and maximal:
Lemma 7.
For every , is a valid maximal allocation.
Proof.
First, we prove that the allocation is valid:
-
•
No good is assigned to both agents. This is obvious for goods in . For good , since , at most one of the conditions or can hold; thus, it is assigned to at most one agent.
-
•
No adjacent goods are assigned to the same agent. Consider two goods that are assigned to agent and consider the following cases:
-
1.
Both goods are in . They are not adjacent because is an independent set.
-
2.
Both goods are in . They are not adjacent because and is an independent set.
-
3.
One good is from and the other is from . Assume w.l.o.g. that and . From this, we must have and that . By the definition of , this ensures that are not adjacent.
-
1.
Next, we prove maximality of , i.e., that no good in can be assigned to one of the agents. Let be any unassigned good. Consider three following cases:
-
1.
. Since is adjacent to , cannot be assigned to agent . Moreover, since , it must be that . From how is constructed, there exists such that and is adjacent to . As , cannot be assigned to agent .
-
2.
. This case follows from an analogous argument to the first case.
-
3.
. In this case, is adjacent to and . Thus, cannot be assigned. ∎
Next, we show that is a gapless chain. However, this requires an additional requirement that is no smaller than .
Lemma 8.
If and , then is a gapless chain.
Proof.
Note that and . Thus, the first two conditions are satisfied by our assumption . Finally, for every , we can see that and . Thus, is ordered adjacent. ∎
Lemma 9.
If and , then Algorithm 1 outputs a maximal EF1 allocation.
Our main theorem of this section (Theorem 6) now then follows easily from Lemma 9 by choosing an appropriate .
Proof of Theorem 6.
Let be a maximal independent set of that maximizes . Since are independent set and is monotone, we have and . Thus, Lemma 9 ensures that running Algorithm 1 on input yields a maximal EF1 allocation. ∎
3.5 Algorithm
Recall in the proof of Theorem 6 that we pick to be a maximal independent set with largest valuation. Doing so trivially would require enumerating through all subsets of . In this section, we give a simple algorithm (Algorithm 2) that significantly improves upon this running time. In particular, it runs in polynomial-time for additive valuations and pseudo-polynomial time for general monotone valuations.
Our algorithm running time is stated below in Theorem 10. Note that in the second case is the number of different values the valuation function can take. This implies that, if the valuations are all integers, the running time is pseudo-polynomial.
Theorem 10.
When there are agents, there exists an algorithm that can find a maximal EF1 allocation and its running time is as follows:
-
•
for monotone valuations,
-
•
for monotone valuations such that the number of distinct values of is at most (i.e. ), and,
-
•
for additive valuations.
Proof.
Observe that the preprocessing time and the running time of each loop is . Thus, it suffices to bound the number of iterations of the loop in each case.
- •
-
•
Next, suppose that can take at most distinct values. From the argument above, are strictly increasing and are thus distinct. As a result, the number of iterations is at most .
-
•
Finally, suppose that is additive. We claim that the following holds for each loop that does not terminate:
(2) Before we prove (2), let us first use it to bound the number of iterations. Notice that (2) implies that, after loop , we must have . Moreover, our choice of ensures that . Thus, the number of iterations is at most .
To see that (2) holds, first recall from Algorithm 1 that, if Algorithm 1 returns NULL, it has considered either or already and has determined that this is not EF1. Since , this means that, for any good , we must have . When we pick with the largest , we have
Hence, , proving (2). ∎
4 Three or More Agents
4.1 Negative Examples
While a maximal EF1 allocation always exists when there are two agents, it turns out that this is not the case for three agents or more.
theoremExampleThreeAgents For agents, there exists an instance with identical monotone valuations where no maximal EF1 allocation exists.
Proof.
Consider the following instance with goods. The graph consists of a complete bipartite graph with bipartition and together with two edges and . Each of the three agents has an identical monotone valuation such that
-
•
;
-
•
if and ;
-
•
if and ;
-
•
if is , , , or ;
-
•
for any other .
Note that the symmetry on the graph and valuation holds: swapping and , swapping , , and swapping and all lead to the same instance, and swapping the bundles of agents does not change whether the allocation is EF1 or not because valuations are identical.
Specifically, consider any maximal allocation . By maximality, good must be allocated to some agent since it has degree . Since agents have identical valuations, without loss of generality, suppose it is allocated to agent . Thus, agent can receive neither of good nor ; let us assume that if is allocated, then it is allocated to agent and if is allocated, then it is allocated to agent . Further, agent can receive a good from at most one part of the bipartition and due to conflicting constraints. Without loss of generality, suppose it is . Now consider the following cases.
-
1.
If none of the goods in is allocated to agent , then must allocate to agent and to agent .
-
2.
Suppose that exactly one of the goods in , say good , is allocated to agent . In this case, observe that must be allocated. This is because if is unallocated, this means that both agents and receive at least one good from and must be allocated to agent , a contradiction. Thus, the only possible maximal allocations are and . A similar argument holds when is allocated to agent due to the symmetry of the graph.
-
3.
Suppose that two goods, and , in are allocated to agent . If is allocated, then the only possible maximal allocation is . If is unallocated, this means that both agents and receive at least one good from and all goods in must be allocated to either of such agents. Thus, the only possible maximal allocations are , , together with .
For this reason, there are only maximal allocations to consider (refer to Figure 3). All of them are not EF1, because:
-
•
Allocations #1, #4, #5, #6: one agent takes one good but there is another agent who takes three goods
-
•
Allocation #2: but .
-
•
Allocation #3: but . ∎

The instance constructed in the proof of Theorem 4.1 uses an identical monotone valuation. It remains an open question whether a counterexample exists for three agents with (even identical) additive valuations.
For every number of agents, Hummel and Hetland [18] presented an instance with identical additive valuations and a complete bipartite graph for which a complete EF1 allocation does not exist. In such cases, a complete allocation does exist, as the maximum degree of the graph is less than the number of agents. Thus, this counterexample implies that achieving both EF1 and maximality is impossible even when four agents have identical additive valuations. Here, we provide a smaller example using , which turns out to be smallest since for , there always exists a maximal EF1 allocation.
propositionExampleFourAgents For every number of agents, there is an instance with identical additive valuations, , and where no maximal EF1 allocation exists.
Proof.
Consider the following instance with goods and a complete bipartite graph with the left part containing three goods and the right part containing goods. Let denote the three goods on the left side and . Each agent has an identical additive valuation where
Consider an arbitrary maximal allocation . Since the maximum degree of the graph is , all goods must be allocated in this allocation. Due to pigeonhole’s principle, there exists an agent X that cannot receive any of goods on the right.
-
•
Case 1: If there is only one such agent, goods are allocated to other agents, which means that each of such agents takes one good of value . The remaining goods must be taken by agent X. Thus, agent X is envied by each of the other agents even after removing one of the goods from X’s bundle.
-
•
Case 2: If there are two or more such agents, there exists an agent Y who takes two or more goods among goods ; further, there exists an agent Z who does not receive any of the goods on the right and takes at most one good from the left side. Then, agent Y is envied by agent Z after removing one of the goods from Y’s bundle.
Therefore, in either case, the allocation is not EF1. ∎
propositionnPlusOne For agents with monotone valuations and goods with , there exists a maximal EF1 allocation.
Proof.
Suppose . Consider the following algorithm.
-
1.
For each agent in this order, run one cycle of the round-robin algorithm. Namely, agent chooses the most preferred good among the remaining goods (namely, where is the set of remaining goods). If there is no remaining good, the agent does not receive any good.
-
2.
After that, at most one good remains. If can be feasibly assigned to some agent (namely, is not adjacent to the good received by in the first phase), assign it to any of such agents.
It is obvious that the resulting allocation is maximal. If , the resulting allocation is clearly EF1 since each agent receives at most one good. If , consider an agent who gets two goods. After removing the first good she has chosen, each of the other agents does not envy since the last good was not selected in the first phase. ∎
4.2 NP-Hardness
Now, we will show that it is NP-hard to decide whether a maximal EF1 allocation exists, as stated below.
Theorem 11.
Given the graph and valuations, determining whether a maximal EF1 allocation exists is NP-hard for:
-
1.
any fixed , even when restricted to identical and additive valuation, and,
-
2.
, even when restricted to identical and monotone valuation.
In fact, our proof can transform any negative example into an NP-hardness result, as stated more precisely below.
Lemma 12.
Suppose that there exists an instance (with identical valuation) where the number of agents and the number of items are both constants, such that no maximal EF1 allocation exists. Then, it is NP-hard to decide whether a maximal EF1 allocation exists for agents with identical valuations. Furthermore, if is additive, then this NP-hardness applies even when the valuations are additive.
Theorem 11 is an immediate corollary of Lemma 12 where is the instance from Figure 3 or Section 4.1. Note that we state Lemma 12 in this generic form so that, if subsequent work finds such an instance for additive valuation for , then the NP-hardness would follow as a corollary.
Reduction.
We will reduce from the Independent Set (IS) problem, which is one of Karp’s classic NP-hard problems [20]. In the IS problem, we are given a graph and a positive integer , and the goal is to decide whether contains an IS of size .
At a high-level, our reduction starts from and adds to it copies of the graph , where each good has the same value . Roughly speaking, we wish the -th copy of (denoted by in the proof below) to give “extra goods” to the -th agent, in case that agent envies some other agent by more than one good. The crux of the reduction is that such an agent can “catch up” (and thus satisfy EF1) iff there is a sufficiently large independent set in . This is not yet a complete reduction since, may not have a maximal independent set of a certain prescribed size. To alleviate this, we introduce “dummy goods” with zero value (denoted by below) to ensure that we can pick any desired number of goods from each copy of . Finally, some additional edges are also added to ensure that each agent selects goods from a single copy of .
For the proof below, we will use the following notation: for any valuation and set of goods, let denote the value of after its most valuable good is removed. We use the convention .
Proof of Lemma 12.
Recall from the lemma statement. Let333 can be computed in time by bruteforce. where the outer minimum is over all maximal allocation of . By the assumption on , we have . Let .
Let denote the IS instance. Our reduction constructs the instance as follows:
-
•
Goods: where and are sets (each of size ) of additional goods.
-
•
Graph: contains the following edges:
-
[(i)]
-
1.
All edges in ,
-
2.
for all and ,
-
3.
for all and ,
-
4.
all pairs of vertices in for all distinct .
-
-
•
Valuation: For all , let where . That is, the valuations on original goods remain the same, the valuations of each good in is , and the goods in have valuations zero.
See Figure 4 for an illustration of the instance .
It is clear that the reduction runs in polynomial time, and that, if is additive, then is also additive.
(YES)
Suppose that contains an IS of size . Let be a maximal allocation of such that . We may assume w.l.o.g. that . For each , we construct as follows:
-
1.
Let .
-
2.
Let be any (non-necessarily maximal) IS of size in , which exists since contains an IS of size .
-
3.
Let
Observe that each good in can only belong to , and it is obvious that there is no edge between goods in . Thus, is a valid allocation. To see that this is maximal, note that the goods from (resp., ) together with type-(iii) edges ensure that no other goods in (resp., ) can be added to . Since at least one good from is picked, type-(iv) edges ensure that no goods in for can be added to .
Finally, we argue that is EF1. To bound , note that . Consider two cases based on .
-
•
If , we have .
-
•
If , by definition of , we have . Thus, .
Thus, in both cases, we have .
On the other hand, for any , the definition of immediately implies .
By the two previous paragraphs, is EF1.
(NO)
Suppose that does not contain an IS of size . Consider any maximal allocation of . Notice that the allocation is maximal w.r.t. . Thus, there exist such that . Due to type-(iv) edges, at most one of can be non-empty. Furthermore, type-(ii) edges imply that the non-empty set must correspond to an independent set in . From our assumption, this implies . As a result,
where is due to our choice of . Thus, is not EF1. ∎

.
5 Chore Allocation
In this section, we consider the chore version of our problem, where each agent has a monotone non-increasing valuation function , namely, for every . An allocation is envy-free up to one chore (EF1 for chores) if for every pair of agents , either , or some [2, 3]. For identical valuations, it is easy to see that the existence of a maximal EF1 allocation is equivalent for goods and chores. Specifically, an allocation is envy-free up to one chore under valuation if and only if is envy-free up to one good under valuation . Thus, a maximal allocation that is envy-free up to one chore exists for if and only if a maximal allocation that is envy-free up to one good exists for .
Consider the case of two agents with monotone non-increasing valuations. Theorem 1 holds in this case, so we can assume without loss of generality that the agents have identical valuations . By combining the discussion above with the fact that is monotone non-decreasing, Theorem 6 guarantees the existence of a maximal EF1 allocation. Moreover, the algorithms presented in Theorems 10, 13 and A remain applicable in this setting.
For three or more agents with monotone non-increasing valuations, there exist instances where a maximal allocation does not exist. In fact, the instances given in Theorem 3 and Proposition 4.1 use an identical valuation , and the corresponding instance obtained by replacing with yields no maximal allocation that is EF1 for chores. Also, determining whether a maximal EF1 allocation exists or not is NP-hard also for monotone non-increasing valuations. This follows from Theorem 11 since the constructed instance uses an identical monotone non-decreasing valuation.
6 Conclusion
While we give a nearly complete picture of the existence for maximal EF1 allocations for monotone valuations, there are still a few open interesting questions left. First, for , our algorithm (Theorem 10) runs in pseudo-polynomial time for general monotone valuations. Is there a polynomial-time (in ) algorithm for this task?
It might also be worthwhile considering special cases, which can result from restricting either the valuations or the graphs. We list a few intriguing cases below.
-
•
Additive valuations: The existence of maximal EF1 allocation remains open only for the case since our lower bound in Section 4.1 requires non-additive valuations, but the lower bound for (Figure 3) holds for additive (and identical) valuations.
-
•
Uniform valuations: All remains open in this case as we are not aware of any lower bound that holds for uniform valuations. We also note that the well-known Hajnal-Szemerédi theorem ([16]) is equivalent to stating that a maximal EF1 allocation exists when the graph has maximum degree at most . Thus, a positive answer to the question for arbitrary graphs will significantly generalize the theorem. We make progress on this question by proving the existence on trees (see Appendix B).
-
•
Restricted Graph Classes: It might also be interesting to study special graph classes, such as bounded degree graphs (as suggested by the above Hajnal-Szemerédi theorem) or trees. Some other interesting graph classes include interval graphs–which was studied by Kumar et al. [21]–and bipartite graphs.
Acknowledgements
This work was partially supported by JST FOREST Grant Numbers JPMJPR20C1. We thank the anonymous IJCAI 2025 for their valuable comments.
References
- [1] G. Amanatidis, H. Aziz, G. Birmpas, A. Filos-Ratsikas, B. Li, H. Moulin, A. A. Voudouris, and X. Wu. Fair division of indivisible goods: recent progress and open questions. Artificial Intelligence, page 103965, 2023.
- [2] H. Aziz, I. Caragiannis, A. Igarashi, and T. Walsh. Fair allocation of indivisible goods and chores. Autonomous Agents and Multi-Agent Systems, 36(1):1–21, 2022.
- [3] U. Bhaskar, A. R. Sricharan, and R. Vaish. On Approximate Envy-Freeness for Indivisible Chores and Mixed Resources. In Proceedings of Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2021), pages 1:1–1:23, 2021.
- [4] V. Bilò, I. Caragiannis, M. Flammini, A. Igarashi, G. Monaco, D. Peters, C. Vinci, and W. S. Zwicker. Almost envy-free allocations with connected bundles. Games and Economic Behavior, 131:197–221, 2022.
- [5] A. Biswas, Y. Ke, S. Khuller, and Q. C. Liu. An algorithmic approach to address course enrollment challenges. In Proceedings of 4th Symposium on Foundations of Responsible Computing (FORC 2023), pages 8:1–8:23, 2023.
- [6] S. Bouveret, K. Cechlárová, E. Elkind, A. Igarashi, and D. Peters. Fair division of a graph. In Proceedings of the 26th International Joint Conference on Artificial Intelligence (IJCAI), pages 135–141, 2017.
- [7] S. J. Brams and P. C. Fishburn. Fair division of indivisible items between two people with identical preferences: Envy-freeness, Pareto-optimality, and equity. Social Choice and Welfare, 17(2):247–267, 2000.
- [8] S. J. Brams, M. Kilgour, and C. Klamler. Two-person fair division of indivisible items: An efficient, envy-free algorithm. Notices of the AMS, 61(2):130–141, 2014.
- [9] S. J. Brams and A. D. Taylor. Fair division: from cake-cutting to dispute resolution. Cambridge University Press, 1996.
- [10] E. Budish. The combinatorial assignment problem: Approximate competitive equilibrium from equal incomes. Journal of Political Economy, 119(6):1061–1103, 2011.
- [11] E. Budish, G. P. Cachon, J. B. Kessler, and A. Othman. Course Match: a large-scale implementation of approximate competitive equilibrium from equal incomes for combinatorial allocation. Operations Research, 65(2):314–336, 2017.
- [12] N. Chiarelli, M. Krnc, M. Milanic, U. Pferschy, N. Pivac, and J. Schauer. Fair packing of independent sets. Algorithmica, 85(5):1459–1489, 2023.
- [13] D. Foley. Resource allocation and the public sector. Yale Economic Essays, pages 45–98, 1967.
- [14] G. Gamow and M. Stern. Puzzle-Math. Viking Press, 1958.
- [15] J. Goldman and A. D. Procaccia. Spliddit: Unleashing fair division algorithms. ACM SIGecom Exchanges, 13(2):41–46, 2014.
- [16] A. Hajnal and E. Szemerédi. Proof of a conjecture of P. Erdős. Colloq Math Soc János Bolyai, 4:601–623, 01 1970.
- [17] W.-L. Hsu. A simple test for interval graphs. In Graph-Theoretic Concepts in Computer Science: 18th International Workshop, WG’92 Wiesbaden-Naurod, Germany, June 18–20, 1992 Proceedings 18, pages 11–16, 1993.
- [18] H. Hummel and M. L. Hetland. Fair allocation of conflicting items. Autonomous Agents and Multi-Agent Systems, 36(1):8, 2022.
- [19] A. Igarashi and T. Yokoyama. Kajibuntan: a house chore division app. In Proceedings of the 37th AAAI Conference on Artificial Intelligence (AAAI), pages 16449–16451, 2023.
- [20] R. M. Karp. Reducibility among combinatorial problems. In R. E. Miller and J. W. Thatcher, editors, Proceedings of a symposium on the Complexity of Computer Computations, held March 20-22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, USA, The IBM Research Symposia Series, pages 85–103, 1972.
- [21] Y. Kumar, S. Equbal, R. Gurjar, S. Nath, and R. Vaish. Fair scheduling of indivisible chores. In Proceedings of the 23rd International Conference on Autonomous Agents and Multi-Agent Systems (AAMAS), pages 2345–2347, 2024. Extended version available at https://arxiv.org/abs/2402.04353.
- [22] B. Li, M. Li, and R. Zhang. Fair scheduling for time-dependent resources. In Proceedings of the 34th Annual Conference on Neural Information Processing Systems (NeurIPS), 2021.
- [23] R. J. Lipton, E. Markakis, E. Mossel, and A. Saberi. On approximately fair allocations of indivisible goods. In Proceedings of the 5th ACM Conference on Electronic Commerce (EC), pages 125–131, 2004.
- [24] J. W. Moon and L. Moser. On cliques in graphs. Israel Journal of Mathematics, 3:23–28, 1965.
- [25] H. Steinhaus. Sur la division pragmatique. Econometrica, 17:315–319, 1949.
- [26] W. Suksompong. Constraints in fair division. ACM SIGecom Exchanges, 19(2):46–61, 2021.
Appendix
Appendix A Two agents and Special Graph Classes
Bipartite Graphs.
For two agents and special graph classes like bipartite graphs, we can find a maximal EF1 and allocation in polynomial time.
Theorem 13.
When there are agents and is bipartite, a maximal EF1 allocation can be found in time.
Proof.
Let the two parts of bipartite graphs that ; we may assume w.l.o.g. that contains all vertices of degree zero. The algorithm is simply to run Algorithm 1 with . The running time claim is obvious. Meanwhile, since , we have that . Thus, Lemma 8 guarantees that the algorithm finds an EF1 allocation. ∎
Interval Graphs.
For interval graphs, Kumar et al. [21] proved that a maximal EF1 allocation exists among two agents and can be computed in polynomial time. They extended the idea presented in Figure 1 for path graphs to interval graphs. However, unlike paths, there is an issue that the allocation after the slight change may not be maximal. Kumar et al. addressed this issue by dividing the structure of intervals into five cases, showing that there is a way to amend the allocation to satisfy maximality for each case. However, their proof is technically involved. Here, we provide a simpler proof by utilizing Theorem 6.
theoremIntervalTwo When there are agents with monotone valuations and is an interval graph, a maximal EF1 allocation can be found in time.
We consider (generalized) interval scheduling problem as a base.
- IntervalScheduling.
-
Given intervals and an integer , find a subset of intervals with maximum size such that no point is covered by more than intervals. For simplicity, we assume that are all distinct.
This can be solved by greedy algorithm: First, we sort intervals so that . Then, for in this order, if can be added while satisfying the constraint that each point is covered by at most intervals, add this to the current solution.
Let’s understand the structure of greedy solution. Let be any valid solution. For convenience, for are set to . Also, let be the greedy solution.
Lemma 14.
holds for any .
Proof.
We prove by induction of .
-
•
Base Case : holds, because the greedy algorithm first chooses the interval with the smallest .
-
•
Induction : We assume that holds. Suppose that . Because each point is covered by at most intervals, must hold. The assumption implies that , so is a valid solution. Because of the construction of the greedy algorithm, should have been added before , a contradiction. Therefore, . ∎
The above result also implies that the greedy solution is optimal, i.e. .
Lemma 15.
Consider the interval scheduling problem with . Suppose that is an optimal solution. Then, for any , is an optimal solution.
Proof.
The inequality that holds due to Lemma 14, and holds because and do not overlap. Therefore, holds, so the intervals do not overlap. Also, the number of chosen intervals is , so it is an optimal solution. ∎
Proof of Theorem A.
We show that IntervalEF1 returns a maximal EF1 allocation. First, the resulting meet the following conditions:
-
•
is maximal in . Due to lines 6-8, any cannot be added to . Also, if can be added, this contradicts the fact that is an optimal solution for IntervalScheduling with .
-
•
due to line 5 and monotonicity.
Next, we consider . In Algorithm 1, when is sorted, i.e. , it suffices to regard as and as .444Note that, for example, the actual can take the same value even if ’s are different, but it does not affect the construction of because ties of can be resolved in any way. Then, becomes a greedy solution, and becomes a greedy solution from opposite direction. Hence, the construction of is justified.
Finally, we consider . We use Lemma 15 to construct this chain. We note that both and are optimal solutions for IntervalScheduling of intervals in .
-
•
is an optimal solution because the greedy solution is optimal (Lemma 14).
-
•
is an optimal solution because otherwise, this would contradict the optimality of (for IntervalScheduling with ).
We use Lemma 15 by setting to intervals of . We create by arranging the following allocation for in this order.
They are maximal due to Lemma 15. By symmetry, we can construct in a similar way.
Combining all these facts, is a gapless chain. Note that starts with and ends with , where is ensured.
Finally, we analyze the running time of the algorithm.
-
•
Reconstructing can be done in time, due to [17].
-
•
Obtaining an optimal solution of IntervalScheduling can be done in time by the greedy algorithm.
-
•
Making maximal (lines 6-8) can be done in time by using binary search tree.
-
•
The length of is at most , so it takes time to find a maximal EF1 allocation among them.
Thus, the algorithm runs in time. ∎
Appendix B Uniform Valuations
We consider the case of uniform valuations, i.e., for all . For such valuations, our problem is closely related to an equitable coloring of a graph, where the number of vertices assigned to each color differs by at most . The key difference is that an equitable coloring must be complete—no vertex can remain uncolored—whereas in our problem, we aim to find a maximal equitable (partial) coloring defined as follows.
Given a graph and , a maximal equitable -coloring is a subpartition of , where , with the following conditions:
-
•
are disjoint.
-
•
(independence) For any pair of distinct vertices , the vertices are not adjacent.
-
•
(maximality) For every and , has an adjacent vertex in .
-
•
(equitability) .
Below, we prove that a maximal equitable -coloring exists when is a tree. It remains an open problem whether this can be extended to all graphs.
Theorem 16.
For every tree and every , there exists a maximal equitable -coloring of .
Proof.
Consider as a rooted tree with root . We prove a stronger fact that there exists a maximal equitable -coloring of such that is colored with a higher color or is uncolored. Here, for a coloring , we define that color is a higher color if .
We will prove this by strong induction on the number of vertices of . The base case is trivial.
For the inductive step, consider any tree with and suppose that the statement holds for all trees with smaller number of vertices. Let be the children of , and let be the subtree of , respectively. By the inductive hypothesis, for each , there exists a maximal equitable -coloring of where is a higher color or is uncolored; let it be . Without loss of generality, we assume . We say that is a singular subtree if has only one higher color (color ) and has color . Without loss of generality, for some , are singular subtrees and are not.
First, we aim to obtain an equitable -coloring of in the following way:
-
1.
Initialize and .
-
2.
For , do the following:
-
(a)
where the indices of wrap around to 1 after , and,
-
(b)
.
-
(a)
It is not difficult to see that, for every loop just after step 2 (b), colors are higher colors of , and colors are not (or, when , all colors are higher colors). Also, observe that the algorithm works in a way that will have colors , respectively, as are singular subtrees.
The problem is that, in order to obtain a coloring of , we need to consider vertex . We divide it into two cases to solve this issue.
-
•
(Case 1. ) will have colors , respectively. Therefore, can be left uncolored, and is already a maximum equitable -coloring of .
-
•
(Case 2. ) We aim to color vertex with color . The case when this cannot be done is that some already has color . However, since have colors , we know that is not a singular subtree. So, there is another higher color inside , say color (in the context of coloring ; must hold). Then, we can swap color and color inside the entire — then no longer has color , and the number of vertices of each color does not change. We repeat this process until no has color . Since color is used by the least number of vertices, coloring vertex in color does not break the equitability condition, and color becomes a higher color.
Therefore, we obtained the desired coloring of . ∎