Computing solutions of the paintshop–necklace problem
2012, Computers & Operations Research
https://doi.org/10.1016/J.COR.2012.01.014Abstract
How to assign colors to occurrences of cars in a car factory ? How to divide fairly a necklace between thieves who have stolen it ? These two questions are addressed in two combinatorial problems that have attracted attention from a theoretical point of view these last years, the first one more by people from the combinatorial optimization community, the second more from the topological combinatorics and computer science point of view. The first problem is the paint shop problem, defined by Epping, Hochstättler and Oertel in 2004. Given a sequence of cars where repetition can occur, and for each car a multiset of colors where the sum of the multiplicities is equal to the number of repetitions of the car in the sequence, decide the color to be applied for each occurrence of each car so that each color occurs with the multiplicity that has been assigned. The goal is to minimize the number of color changes in the sequence. The second problem, highly related to the first one, takes its origin in a famous theorem found by Alon in 1987 stating that a necklace with t types of beads and qau occurrences of each type u (au is a positive integer) can always be fairly split between q thieves with at most t(q − 1) cuts. An intriguing aspect of this theorem lies in the fact that its classical proof is completely nonconstructive. Designing an algorithm that computes theses cuts is not an easy task, and remains mostly open. The main purpose of the present paper is to make a step in a more operational direction for these two problems by discussing practical ways to compute solutions for instances of various sizes. Moreover, it starts with an exhaustive survey on the algorithmic aspects of them, and some new results are proved.
References (23)
- N. Alon, Splitting necklaces, Adv. in Math. 63 (1987), 247-253.
- Non-constructive proofs in combinatorics, Proc. of the International Congress of Mathematicians, Kyoto 1990, Japan, Springer Verlag, Tokyo, 1991, pp. 1421-1429.
- N. Alon, D. Moshkovitz, and S. Safra, Algorithmic construction of sets for k-restrictions, ACM Trans. Algorithms 2 (2006), 153-177.
- N. Alon and D. West, The Borsuk-Ulam theorem and bisection of necklaces, Proc. Amer. Math. Soc. 98 (1986), 623-628.
- H. Amini, F. Meunier, H. Michel, and A. Mohajeri, Greedy colouring of the binary paintshop problem, Journal of Discrete Algorithms 8 (2010), 8-14.
- S. D. Andres and W. Hochstättler, Some heuristics for the binary paintshop problem and their expected number of colour changes, Journal of Discrete Algorithms (2010).
- E. Babson, H. Barcelo, M. de Longueville, and R. Laubenbacher, A homotopy theory for graphs, Journal of Algebraic Combinatorics 24 (2006), 31-44.
- S. N. Bhatt and C. E. Leiserson, How to assemble tree machines, Proc. of the 14th Symposium on the Theory of Computing, San Francisco, 1981, USA, 1981, pp. 99-104.
- P. S. Bonsma, T. Epping, and W. Hochstättler, Complexity results on restricted instances of a paint shop problem for words, Discrete Appl. Math. 154 (2006), 1335-1343.
- M. de Longueville and R. Zivaljevic, The Borsuk-Ulam-property, Tucker-property and constructive proofs in combinatorics, Journal of Combinatorial Theory, Ser. A 113 (2006), 839-850.
- T. Epping, W. Hochstättler, and P. Oertel, Complexity results on a paint shop problem, Discrete Appl. Math. 136 (2004), 217-226.
- K. Fan, Combinatorial properties of certain simplicial and cubical vertex maps, Arch. Math. 11 (1960), 368-377.
- C. H. Goldberg and D. West, Bisection of circle colorings, SIAM J. Algebraic Discrete Methods 6 (1985), 93-106.
- J. Matoušek, Using the Borsuk-Ulam theorem, Springer Verlag, Berlin-Heidelberg-New York, 2003.
- N. Meggido and C. H. Papadimitriou, A note on total functions, existence theorems, and computational complexity, Tech. report, IBM, 1989.
- F. Meunier, Discrete splittings of the necklace, Mathematics of Operations Research 33 (2008), 678-688.
- F. Meunier and A. Sebő, Paint shop, odd cycles and splitting necklace, Discrete Appl. Math. 157 (2009), 780-793.
- R. H. Möhring, D. Wagner, and F. Wagner, VLSI Network Design, vol. 8, ch. 8, pp. 625-712, 1995.
- B. Neveu and G. Trombettoni, Incop : An Open Library for INcomplete Combinatorial OPtimization, Proc. Inter- national Conference on Principles Constraint Programming, CP'03 (Kinsale,Ireland), LNCS, vol. 2833, Springer, 2003, pp. 909-913.
- B. Neveu, G. Trombettoni, and F. Glover, ID-Walk : A Candidate List Strategy with a Simple Diversification Device, Proc. 10th International Conference on Principles and Practice of Constraint Programming -CP 2004, vol. LNCS 3258, Springer, 2004, pp. 423-437.
- C. Papadimitriou, On the complexity of the parity argument and other inefficient proofs of existence, J. Comput System Sci. 48 (1994), 498-532.
- H. Scarf, The approximation of fixed points of a continuous mapping, SIAM J. Appl. Math. 15 (1967), 1328-1343.
- G. Simonyi, Necklace bisection with one cut less than needed, The elecvtronic journal of combinatorics 15 (2008). Université Paris Est, CERMICS, ENPC, 6-8 avenue Blaise Pascal, Cité Descartes Champs-sur- Marne, 77455 Marne-la-Vallée cedex 2, France. Université Paris Est, LIGM, ENPC, 6-8 avenue Blaise Pascal, Cité Descartes Champs-sur-Marne, 77455 Marne-la-Vallée cedex 2, France. E-mail address: frederic.meunier@enpc.fr, bertrand.neveu@enpc.fr