Solving Kirkman’s Schoolgirl Problem in a Few Seconds

The Social Golfer Problem has been extensively used by the constraint community in recent years as an example of a highly symmetric problem. It is an excellent problem for benchmarking symmetry breaking mechanisms such as SBDS or SBDD and for demonstrating the importance of the choice of the right model for one problem. We address in this paper a specific instance of the Golfer Problem well known as Kirkman’s Schoolgirl Problem and list a collection of techniques and tricks to find efficiently all its unique solutions. In particular, we propose SBDD+, a generic improvement over SBDD which allows a deep pruning when a symmetry is detected during the search. Our implementation of the presented techniques improves previously published results by an order of magnitude for CPU time as well as for number of backtracks. It computes the seven unique solutions of Kirkman’s problem in a few seconds.

[1]  A. Sadler,et al.  Global reasoning on sets , 2001 .

[2]  Barbara M. Smith,et al.  Reducing Symmetry in a Combinatorial Design Problem , 2001 .

[3]  Marshall Hall,et al.  Combinatorial Theory, 2nd Edition , 1967 .

[4]  Michela Milano,et al.  Global Cut Framework for Removing Symmetries , 2001, CP.

[5]  Jean-Charles Régin,et al.  Generalized Arc Consistency for Global Cardinality Constraint , 1996, AAAI/IAAI, Vol. 1.

[6]  Meinolf Sellmann,et al.  Symmetry Breaking , 2001, CP.

[7]  Carmen Gervet,et al.  Interval propagation to reason about sets: Definition and implementation of a practical language , 1997, Constraints.

[8]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[9]  Ian P. Gent,et al.  Symmetry Breaking in Constraint Programming , 2000, ECAI.

[10]  Jr. Hall Combinatorial theory (2nd ed.) , 1998 .

[11]  B. D. Mckay,et al.  Practical graph isomorphism, Numerical mathematics and computing, Proc. 10th Manitoba Conf., Winnipeg/Manitoba 1980 , 1981 .

[12]  Carmen Gervet,et al.  Global Filtering for the Disjointness Constraint on Fixed Cardinality Sets , 2004 .

[13]  Myra B. Cohen,et al.  Kirkman triple systems of order 21 with nontrivial automorphism group , 2002, Math. Comput..

[14]  Pascal Brisset,et al.  FaCiLe : a Functional Constraint Library , 2001 .

[15]  Steven Prestwich,et al.  Randomised Backtracking for Linear Pseudo-Boolean Constraint Problems , 2002 .

[16]  Meinolf Sellmann Heuristic Constraint Propagation Using Local Search for Incomplete Pruning and Domain Filtering of R , 2002 .

[17]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[18]  Toby Walsh,et al.  Principles and Practice of Constraint Programming — CP 2001: 7th International Conference, CP 2001 Paphos, Cyprus, November 26 – December 1, 2001 Proceedings , 2001, Lecture Notes in Computer Science.

[19]  Ian P. Gent,et al.  Symmetry breaking during search in constraint programming , 1999 .