The Frontier of Intractability for EFX with Two Agents

Paul W. Goldberg, Kasper Høgh, Alexandros Hollender

Abstract

We consider the problem of sharing a set of indivisible goods among agents in a fair manner, namely such that the allocation is envy-free up to any good (EFX). We focus on the problem of computing an EFX allocation in the two-agent case and characterize the computational complexity of the problem for most well-known valuation classes. We present a simple greedy algorithm that solves the problem when the agent valuations are weakly well-layered, a class which contains gross substitutes and budget-additive valuations. For the next largest valuation class we prove a negative result: the problem is PLS-complete for submodular valuations. All of our results also hold for the setting where there are many agents with identical valuations.
BibTeX
@article{goldberg2025frontier,
  author = {Paul W. Goldberg and Kasper Høgh and Alexandros Hollender},
  title = {{The Frontier of Intractability for EFX with Two Agents}},
  journal = {Theoretical Computer Science},
  year = {2025},
  doi = {10.1016/j.tcs.2025.115367},
}
Figure