Entropy Minimization for Solving Sudoku

Solving Sudoku puzzles is formulated as an optimization problem over a set of probabilities. The constraints for a given puzzle translate into a convex polyhedral feasible set for the probabilities. The solution to the puzzle lies at an extremal point of the polyhedron where the probabilities are either zero or one and the entropy is zero. Because the entropy is positive at all other feasible points, an entropy minimization approach is adopted to solve Sudoku. To escape local entropy minima at nonsolution extremal points, a search procedure is proposed in which each iteration involves solving a simple convex optimization problem. This approach is evaluated on thousands of puzzles spanning four levels of difficulty from “easy” to “evil”.

[1]  H. Simonis,et al.  Sudoku as a Constraint Problem , 2005 .

[2]  Peter J. Cameron,et al.  Sudoku, Gerechte Designs, Resolutions, Affine Space, Spreads, Reguli, and Hamming Codes , 2008, Am. Math. Mon..

[3]  Thomas M. Cover,et al.  Elements of Information Theory , 2005 .

[4]  Y. Ye,et al.  Geometric Rounding : A Dependent Rounding Scheme for Allocation Problems , 2008 .

[5]  Joel Almog,et al.  Evolutionary computing methodologies for constrained parameter, combinatorial optimization: Solving the Sudoku puzzle , 2009, AFRICON 2009.

[6]  Ramdas Kumaresan,et al.  Encoding Bandpass Signals Using Zero/Level Crossings: A Model-Based Approach , 2010, IEEE Transactions on Audio, Speech, and Language Processing.

[7]  E. C. Titchmarsh The Zeros of Certain Integral Functions , 1926 .

[8]  Hae-Seung Lee,et al.  Analog-to-Digital Converters: Digitizing the Analog World , 2008, Proceedings of the IEEE.

[9]  Donald E. Knuth,et al.  Dancing links , 2000, cs/0011047.

[10]  Todd K. Moon,et al.  Sinkhorn Solves Sudoku , 2009, IEEE Transactions on Information Theory.

[11]  Steven M. Kay,et al.  A zero crossing-based spectrum analyzer , 1986, IEEE Trans. Acoust. Speech Signal Process..

[12]  Rhyd Lewis,et al.  Metaheuristics can solve sudoku puzzles , 2007, J. Heuristics.

[13]  R. Duffin,et al.  Some properties of functions of exponential type , 1938 .

[14]  Julian Togelius,et al.  Geometric particle swarm optimization , 2008 .

[15]  Hae-Seung Lee,et al.  Zero-Crossing-Based Ultra-Low-Power A/D Converters , 2010, Proceedings of the IEEE.

[16]  T. Yato,et al.  Complexity and Completeness of Finding Another Solution and Its Application to Puzzles , 2003, IEICE Trans. Fundam. Electron. Commun. Comput. Sci..

[17]  Jesus Selva Functionally Weighted Lagrange Interpolation of Band-Limited Signals From Nonuniform Samples , 2009, IEEE Transactions on Signal Processing.

[18]  Stephen P. Boyd,et al.  Convex Optimization , 2004, Algorithms and Theory of Computation Handbook.

[19]  Graham Kendall,et al.  A Survey of NP-Complete Puzzles , 2008, J. Int. Comput. Games Assoc..

[20]  Jian Li,et al.  Linear Systems, Sparse Solutions, and Sudoku , 2010, IEEE Signal Processing Letters.

[21]  Timothy D. Rankin,et al.  An Integer Programming Model for the Sudoku Problem , 2007 .

[22]  T. Moon,et al.  Multiple Constraint Satisfaction by Belief Propagation: An Example Using Sudoku , 2006, 2006 IEEE Mountain Workshop on Adaptive and Learning Systems.