Skip to main content
Log in

Solving Kirkman’s Schoolgirl Problem in a Few Seconds

  • Original Article
  • Published:
Constraints Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Barnier, N., & Brisset, P. (2001). FaCiLe: A functional constraint library. In Proceedings of CICLOPS2001. Paphos, pages 52–66.

  2. Cohen, M. B., Colbourn, C. J., Ives, L. A., & Ling, A. C. H. (2001). Kirkman triple systems of order 21 with nontrivial automorphism group. Math. Comput.

  3. Walsh, T., ed. (2001). CP’01: 7th International Conference on Principle and Practice of Constraint Programming, number 2239 in LNCS, Springer-Verlag, Paphos, Cyprus.

  4. CPAIOR’02: Fourth International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimisation Problems, Le Croisic, France, 2002.

  5. Fahle, T., Schamberger, S., & Sellmann, M. Symmetry breaking. In CP’01 [3], pages 93–107.

  6. Focacci, F., & Milano, M. Global cut framework for removing symmetries. In CP’01 [3], pages 77–92.

  7. Gent, I., Walsh, T., & Selman, B. CSPlib: A problem library for constraints. http://www.csplib.org.

  8. Gent, I. P., & Barbara, S. (2000). Symmetry breaking during search in contraint programming. In Horn, W., ed., EACI’2000, pages 599–603.

  9. Gervet, C. (1997). Interval propagation to reason about sets: Definition and implementation of a practical language. Constraints 1(3): 191–244. http://www.icparc.ic.ac.uk/~cg6.

    MathSciNet  MATH  Google Scholar 

  10. Gervet, C., & Sadler, A. (2004). Global Filtering for the Disjointness Constraint on Fixed Cardinality Sets. Technical Report, ICPARC-04-02 (March).

  11. Hopcroft, J., & Karp, R. (1973). An n5/2 algorithm for maximum matching in bipartite graphs. SIAM J Comput 2(4): 225–231.

    Google Scholar 

  12. Kirkman, T. P. (1850). Note on an unanswered prize question. Cambridge Dublin Math J 5: 255–262.

    Google Scholar 

  13. Hall, M. Jr. (1983). Combinatorial Theory, 2nd Edition. Wiley Classics Library.

  14. McKay, B. D. (1981). Practical graph isomorphism. Congr. Numerantium 30: 45–87.

    Google Scholar 

  15. Prestwich, S. Randomised backtracking for linear pseudo-boolean constraint problems. In CPAIOR’02 [4], pages 7–19.

  16. Régin, J.-C. (1996). Generalized arc consistency for global cardinality constraint. In Proceedings of the Thirteenth National Conference on Artificial Intelligence.

  17. Sadler, A., & Gervet, C. (2001). Global reasoning on sets. In Formul’01, Workshop Modelling and Problem Formulation.

  18. Sellmann, M., & Harvey, W. Heuristic constraint propagation. In CPAIOR’02 [4], pages 191–204.

  19. Smith, B. (2001). Reducing symmetry in a combinatorial design problem. In CPAIOR’01, pages 351–359 (April). http://www.icparc.ic.ac.uk/cpAIOR01.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicolas Barnier.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Barnier, N., Brisset, P. Solving Kirkman’s Schoolgirl Problem in a Few Seconds. Constraints 10, 7–21 (2005). https://doi.org/10.1007/s10601-004-5305-9

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10601-004-5305-9

Keywords

Navigation