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.
Similar content being viewed by others
Notes
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.
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.
We have tested the incomplete solver Sparrow Balint and Fröhlich (2010) and no solution was found with a time out of one hour.
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.
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.
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.
Rossi, F., van Beek, P., & Walsh, T. (Eds.). (2006). Handbook of constraint programming. Amsterdam: Elsevier.
Triska, M., & Musliu, N. (2012). An improved sat formulation for the social golfer problem. Annals of Operations Research, 194(1), 427–438.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
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
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10479-015-1914-5