Skip to main content

Solving ‘Still Life’ with Soft Constraints and Bucket Elimination

  • Conference paper
Principles and Practice of Constraint Programming – CP 2003 (CP 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2833))

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bertele, U., Brioschi, F.: Nonserial Dynamic Programming. Academic Press, London (1972)

    MATH  Google Scholar 

  2. Bistarelli, S., Montanari, U., Rossi, F.: Semiring-Based Constraint Satisfaction and Optimization. Journal of the ACM 44(2), 201–236 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  3. 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)

    Google Scholar 

  4. Dechter, R.: Bucket elimination: A unifying framework for reasoning. Artificial Intelligence 113, 41–85 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  5. 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

    Google Scholar 

  6. Gardner, M.: The fantastic combinations of John Conway’s new solitary game. Scientific American 223, 120–123 (1970)

    Article  MATH  Google Scholar 

  7. Larrosa, J., Dechter, R.: Boosting Search with Variable Elimination. In: Dechter, R. (ed.) CP 2000. LNCS, vol. 1894, pp. 291–305. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  8. Larrosa, J.: Boosting Search with Variable Elimination in Constraint Optimization and Constraint Satisfaction Problems. Constraints: an International Journal (to appear)

    Google Scholar 

  9. Dechter, R., El Fattah, Y.: Topological Parameters for Time-Space Tradeoff. Artificial Intelligence (to appear)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Chapter  Google Scholar 

  12. Tsang, E.: Foundations of Constraint Satisfaction. Academic Press, London (1993)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics