Efficient Splitting of Necklaces

We provide efficient approximation algorithms for the Necklace Splitting problem. The input consists of a sequence of beads of n types and an integer k. The objective is to split the necklace, with a small number of cuts made between consecutive beads, and distribute the resulting intervals into k collections so that the discrepancy between the shares of any two collections, according to each type, is at most 1. We also consider an approximate version where each collection should contain at least a (1 − ε)/k and at most a (1 + ε)/k fraction of the beads of each type. It is known that there is always a solution making at most n(k − 1) cuts, and this number of cuts is optimal in general. The proof is topological and provides no efficient procedure for finding these cuts. It is also known that for k = 2, and some fixed positive ε, finding a solution with n cuts is PPAD-hard. We describe an efficient algorithm that produces an ε-approximate solution for k = 2 making n(2+log(1/ε)) cuts. This is an exponential improvement of a (1/ε)O(n) bound of Bhatt and Leighton from the 80s. We also present an online algorithm for the problem (in its natural online model), in which the number of cuts made to produce discrepancy at most 1 on each type is Õ(m2/3n), where m is the maximum number of beads of any type. Lastly, we establish a lower bound showing that for the online setup this is tight up to logarithmic factors. Similar results are obtained for k > 2. 2012 ACM Subject Classification Theory of computation → Approximation algorithms analysis

[1]  N. Alon Non-constructive proofs in Combinatorics , 2002 .

[2]  Frank Thomson Leighton,et al.  A Framework for Solving VLSI Graph Layout Problems , 1983, J. Comput. Syst. Sci..

[3]  Paul W. Goldberg,et al.  The complexity of splitting necklaces and bisecting ham sandwiches , 2018, STOC.

[4]  Christos H. Papadimitriou,et al.  On the Complexity of the Parity Argument and Other Inefficient Proofs of Existence , 1994, J. Comput. Syst. Sci..

[5]  Amin Saberi,et al.  The complexity of equilibria: Hardness results for economies via a correspondence with games , 2008, Theor. Comput. Sci..

[6]  Nikhil Bansal,et al.  Constructive Algorithms for Discrepancy Minimization , 2010, 2010 IEEE 51st Annual Symposium on Foundations of Computer Science.

[7]  Paul S. Bonsma,et al.  Complexity results on restricted instances of a paint shop problem for words , 2006, Discret. Appl. Math..

[8]  Paul W. Goldberg,et al.  Hardness Results for Consensus-Halving , 2016, MFCS.

[9]  N. Alon,et al.  The Borsuk-Ulam theorem and bisection of necklaces , 1986 .

[10]  Steven J. Brams,et al.  Fair division - from cake-cutting to dispute resolution , 1998 .

[11]  Charles E. Leiserson,et al.  How to assemble tree machines , 1984 .

[12]  Noga Alon,et al.  Efficient Splitting of Measures and Necklaces , 2020, ArXiv.

[13]  Frédéric Meunier,et al.  Simplotopal maps and necklace splitting , 2014, Discret. Math..

[14]  Paul W. Goldberg,et al.  Consensus halving is PPA-complete , 2017, STOC.

[15]  Paul W. Goldberg,et al.  The complexity of computing a Nash equilibrium , 2006, STOC '06.

[16]  Robert Tijdeman On a Distribution Problem in Finite and Countable Sets , 1973, J. Comb. Theory, Ser. A.

[17]  Joel H. Spencer,et al.  On-Line Balancing of Random Inputs , 2020, Random Struct. Algorithms.

[18]  Noga Alon,et al.  Algorithmic construction of sets for k-restrictions , 2006, TALG.

[19]  Joel H. Spencer,et al.  Deterministic Discrepancy Minimization , 2011, Algorithmica.

[20]  Charles H. Goldberg,et al.  Bisection of Circle Colorings , 1985 .

[21]  Aris Filos-Ratsikas,et al.  Consensus-Halving: Does It Ever Get Easier? , 2020, EC.