Skip to main content
Log in

Set constraint model and automated encoding into SAT: application to the social golfer problem

  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

On the one hand, constraint satisfaction problems allow one to expressively model problems. On the other hand, propositional satisfiability problem (SAT) solvers can handle huge SAT instances. We thus present a technique to expressively model set constraint problems and to encode them automatically into SAT instances. We apply our technique to the social golfer problem and we also use it to break symmetries of the problem. Our technique is simpler, more expressive, and less error-prone than direct modeling. The SAT instances that we automatically generate contain less clauses than improved direct instances such as in Triska and Musliu (Ann Oper Res 194(1):427–438, 2012), and with unit propagation they also contain less variables. Moreover, they are well-suited for SAT solvers and they are solved faster as shown when solving difficult instances of the social golfer problem.

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

Notes

  1. Indeed, we did it with MiniZinc (http://www.minizinc.org/) but did not obtain good results in terms of running time and instances that could be solved.

  2. This technique which consists in increasing the number of symmetries in order to obtain more solutions, sometimes gives even better results, especially with incomplete solvers such as local search.

  3. We have tested the incomplete solver Sparrow Balint and Fröhlich (2010) and no solution was found with a time out of one hour.

  4. http://www.satcompetition.org/.

  5. https://github.com/MiniZinc/minizinc-benchmarks/tree/master/golfers.

  6. http://www.hakank.org/minizinc/social_golfers1.mzn.

References

  • Azevedo, F. (2006). An attempt to dynamically break symmetries in the social golfers problem. In F. Azevedo, P. Barahona, F. Fages, & F. Rossi (Eds.), CSCLP, Lecture Notes in Computer Science, vol. 4651 (pp. 33–47). Springer.

  • Bacchus, F. (2007). Gac via unit propagation. In Proceedings of CP 2007, LNCS, vol. 4741 (pp. 133–147). Springer.

  • Bailleux, O., & Boufkhad, Y. (2003). Efficient cnf encoding of boolean cardinality constraints. In Proceedings of CP 2003, vol. 2833 (pp. 108–122). Springer.

  • Balint, A., & Fröhlich, A. (2010). Improving stochastic local search for SAT with a new probability distribution. In Proceedings of Theory and Applications of Satisfiability Testing—SAT 2010, 13th International Conference, SAT 2010, Edinburgh, UK, July 11–14, 2010 (pp. 10–15).

  • Bessière, C., Hebrard, E., & Walsh, T. (2004). Local consistencies in sat. In Selected Revised Papers of SAT 2003, LNCS, vol. 2919 (pp. 299–314). Springer.

  • Choco. http://www.emn.fr/z-info/choco-solver/.

  • Cotta, C., Dotú, I., Fernández, A. J., & Hentenryck, P. V. (2006). Scheduling social golfers with memetic evolutionary programming. In Proceedings of HM 2006, LNCS, vol. 4030 (pp. 150–161). Springer.

  • Crawford, J. M., Ginsberg, M. L., Luks, E. M., & Roy, A. (1996). Symmetry-breaking predicates for search problems. In Proc. of KR’96 (pp. 148–159). Morgan Kaufmann.

  • Eén, N., & Biere, A. (2005). Effective preprocessing in sat through variable and clause elimination. In Proceedings of SAT 2005, vol. 3569 (pp. 61–75).

  • Eén, N., & Sörensson, N. (2003) An extensible sat-solver. In Proceedings of SAT 2003, vol. 2919 (pp. 502–518).

  • Flener, P., Frisch, A. M., Hnich, B., Kiziltan, Z., Miguel, I., Pearson, J., & Walsh, T. (2002). Breaking row and column symmetries in matrix models. In Proceedings of CP 2002, vol. 2470 (pp. 462–476). Springer.

  • Frisch, A. M., Hnich, B., Kiziltan, Z., Miguel, I., & Walsh, T. (2002). Global constraints for lexicographic orderings. In Proceedings of CP 2002, vol. 2470 (pp. 93–108). Springer.

  • Garey, M. R., & Johnson, D. S. (1979). Computers and intractability, a guide to the theory of NP-completeness. San Francisco: W.H. Freeman & Company.

    Google Scholar 

  • Gent, I., & Lynce, I. (2005). A sat encoding for the social golfer problem. In IJCAI’05 workshop on modelling and solving problems with constraints.

  • Gent, I. P., & Prosser, P. (2002). An empirical study of the stable marriage problem with ties and incomplete lists. In Proceedings of ECAI’2002 (pp. 141–145). IOS Press.

  • Gent, I. P., & Walsh, T. (1999). CSPLib: A benchmark library for constraints. In Proceedings of CP 1999, LNCS, vol. 1713 (pp. 480–481). Springer.

  • Gervet, C. (1994). Conjunto: Constraint propagation over set constraints with finite set domain variables. In Proceedings of ICLP’94 (p. 733). MIT Press.

  • Lardeux, F., Monfroy, E., Saubion, F., Crawford, B., & Castro, C. (2009). Sat encoding and csp reduction for interconnected alldiff constraints. In Proceedings of MICAI 2009 (pp. 360–371).

  • Legeard, B., & Legros, E. (1991). Short overview of the clps system. In Proceedings of PLILP’91, vol. 528 (pp. 431–433). Springer.

  • MiniZinc. http://www.minizinc.org/.

  • Prestwich, S. D. (2003). Negative effects of modeling techniques on search performance. Annals OR, 118(1–4), 137–150.

    Article  Google Scholar 

  • Rossi, F., van Beek, P., & Walsh, T. (Eds.). (2006). Handbook of constraint programming. Amsterdam: Elsevier.

    Google Scholar 

  • Triska, M., & Musliu, N. (2012). An improved sat formulation for the social golfer problem. Annals of Operations Research, 194(1), 427–438.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Frédéric Lardeux.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lardeux, F., Monfroy, E., Crawford, B. et al. Set constraint model and automated encoding into SAT: application to the social golfer problem. Ann Oper Res 235, 423–452 (2015). https://doi.org/10.1007/s10479-015-1914-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10479-015-1914-5

Keywords

Navigation