Abstract
In this paper we study the applicability of bucket elimination (BE) to the problem of finding still-life patterns. Very recently, it has been tackled using integer programming and constraint programming, both of them being search-based methods. We show that BE, which is based on dynamic programming, provides an exponentially lower worst-case time complexity than search methods. Unfortunately, BE requires exponential space, which is a disadvantage over the polynomial space requirement of depth-first search.
With our experiments, we show that BE is quite competitive with search-based approaches. It clearly outperforms simple encodings and it is comparable with dedicated methods. While the best current search approach solves the n=14 instance in about 6 cpu days, BE solves it in about 1 day. BE cannot solve the n=15 instance due to space exhaustion (this instance is solved by search in 8 days). Finally, we show how BE can be adapted to exploit the problem symmetries, with which in several cases we outperform previous results in a relaxation of the problem which restrict solutions to symmetric patterns, only.
The first author is supported by the REPLI project TIC-2002-04470-C03.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bertele, U., Brioschi, F.: Nonserial Dynamic Programming. Academic Press, London (1972)
Bistarelli, S., Montanari, U., Rossi, F.: Semiring-Based Constraint Satisfaction and Optimization. Journal of the ACM 44(2), 201–236 (1997)
Bosch, R., Trick, M.: Constraint programming and hybrid formulations for three life designs. In: Proceedings of the International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, CP-AI-OR 2002, pp. 77–91 (2002)
Dechter, R.: Bucket elimination: A unifying framework for reasoning. Artificial Intelligence 113, 41–85 (1999)
Elkies, N.D.: The still-life density problem and its generalisations. Voronoi’s impact on modern science, Book 1, 228–253 (1998); Institute of Math. Kyiv
Gardner, M.: The fantastic combinations of John Conway’s new solitary game. Scientific American 223, 120–123 (1970)
Larrosa, J., Dechter, R.: Boosting Search with Variable Elimination. In: Dechter, R. (ed.) CP 2000. LNCS, vol. 1894, pp. 291–305. Springer, Heidelberg (2000)
Larrosa, J.: Boosting Search with Variable Elimination in Constraint Optimization and Constraint Satisfaction Problems. Constraints: an International Journal (to appear)
Dechter, R., El Fattah, Y.: Topological Parameters for Time-Space Tradeoff. Artificial Intelligence (to appear)
Schiex, T., Fargier, H., Verfaillie, G.: Valued Constraint Satisfaction Problems: hard and easy problems. In: Proceedings of the 14th. International Join Conference on Artificial Intelligence, IJCAI 1995, Montreal, Canada, pp. 631–637 (1995)
Smith, B.: A dual graph translation of a problem in life. In: Van Hentenryck, P. (ed.) CP 2002. LNCS, vol. 2470, p. 402. Springer, Heidelberg (2002)
Tsang, E.: Foundations of Constraint Satisfaction. Academic Press, London (1993)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Larrosa, J., Morancho, E. (2003). Solving ‘Still Life’ with Soft Constraints and Bucket Elimination. In: Rossi, F. (eds) Principles and Practice of Constraint Programming – CP 2003. CP 2003. Lecture Notes in Computer Science, vol 2833. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45193-8_32
Download citation
DOI: https://doi.org/10.1007/978-3-540-45193-8_32
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20202-8
Online ISBN: 978-3-540-45193-8
eBook Packages: Springer Book Archive