Proceedings

Solving Sudoku with Consistency: A Visual and Interactive Approach

Download BibTeX Cite

Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence. Demos. Pages 5829-5831.

https://doi.org/10.24963/ijcai.2018/852

Abstract

We describe an online, interactive system with a

graphical interface to illustrate the power and operation

of consistency algorithms in a friendly and

popular context, namely, solving Sudoku puzzles.

Our tool implements algorithms for enforcing five

(domain-based) consistency properties on binary

and non-binary constraint models. Our tool is useful

for research, education, and outreach. From

a scientific standpoint, we propose a new consistency

property that can solve the hardest known

9×9 Sudoku instances without search, but leave

open the question of the lowest level of consistency

needed to solve every 9×9 Sudoku puzzle. We

have used the current tool and its predecessor in the

classroom to introduce students to modeling problems

with constraints, explain consistency properties,

and illustrate the operations of constraint propagation

and lookahead. Finally, we have also used

this tool during outreach activities to demystify AI

to children and the general public and show them

how computers think.

  1. [Bennaceur and Affane, 2001] Hachemi Bennaceur and Mohamed-Salah Affane. Partition-k-AC: An Efficient Filtering Technique Combining Domain Partition and Arc Consistency. In Principles and Practice of Constraint Programming (CP 01), volume 2239 of LNCS, pages 560-564. Springer, 2001.
  2. [Bessiere and Debruyne, 2008] Christian Bessiere and Ro- muald Debruyne. Theoretical analysis of singleton arc consistency and its extensions. Artificial Intelligence, 172(1):29-41, 2008.
  3. [Debruyne and Bessiere, 1997] Romuald Debruyne and Christian Bessiere. Some practicable filtering techniques for the constraint satisfaction problem. In In Proceedings of IJCAI'97, pages 412-417, 1997. IJCAI
  4. [Mackworth, 1977] Alan K. Mackworth. Consistency in Networks of Relations. Artificial Intelligence, 8:99-118, 1977.
  5. [Reeson et al., 2007] Christopher G. Reeson, Kai-Chen Huang, Kenneth M. Bayer, and Berthe Y. Choueiry. An Interactive Constraint-Based Approach to Sudoku. In Pro- ceedings of AAAI-2007, pages 1976-1977, 2007.
  6. [Régin, 1994] Jean-Charles Régin. A filtering algorithm for constraints of difference in constraint satisfaction prob- lems. In Proceedings of AAAI-94, pages 362-437, Seattle, WA, 1994.
  7. [Simonis, 2005] Helmut Simonis. Sudoku as a constraint problem. In Proceedings of the Fifth International Work- shop on Modeling and Reformulating Constraint Satisfac- tion Problems, pages 13-27, 2005.
  8. [Waltz, 1975] David Waltz. Understanding Line Drawings of Scenes with Shadows. In P.H. Winston, editor, The Psy- chology of Computer Vision, pages 19-91.
  9. [Yato, 2003] Takayuki Yato. Complexity and Completeness of Finding Another Solution and its Application to Puz- zles. Master's thesis, University of Tokyo, 2003.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards