Skip to main navigation Skip to search Skip to main content

A constraint-based approach to Enigma 1225

Research output: Contribution to journalArticlepeer-review

Abstract

This paper presents a constraint programming approach to the Enigma 1225, a mathematical puzzle published in the New Scientist magazine in February 2003. An approach based on Prolog was published recently. In this paper we give a constraint programming perspective on the problem, highlighting the differences between the two methodologies. We show how problem-specific knowledge can be easily incorporated into a constraint-based approach, giving an efficient constraint model for the generalized version of the puzzle. From the constraint programming point of view, the Enigma 1225 puzzle exhibits interesting symmetries, that can be eliminated using only a small number of constraints added to the model. Furthermore, properties of the puzzle can be used to derive a strong constraint propagation scheme that limits the search once an optimal solution has been found.

Original languageEnglish
Pages (from-to)1487-1497
Number of pages11
JournalComputers and Mathematics with Applications
Volume58
Issue number8
DOIs
Publication statusPublished - Oct 2009

Keywords

  • Constraint programming
  • Modelling
  • Puzzles
  • Symmetry breaking

Fingerprint

Dive into the research topics of 'A constraint-based approach to Enigma 1225'. Together they form a unique fingerprint.

Cite this