A Hybrid alldifferent-Tabu Search Algorithm for Solving Sudoku Puzzles.

Journal: Computational intelligence and neuroscience
PMID:

Abstract

The Sudoku problem is a well-known logic-based puzzle of combinatorial number-placement. It consists in filling a n(2) × n(2) grid, composed of n columns, n rows, and n subgrids, each one containing distinct integers from 1 to n(2). Such a puzzle belongs to the NP-complete collection of problems, to which there exist diverse exact and approximate methods able to solve it. In this paper, we propose a new hybrid algorithm that smartly combines a classic tabu search procedure with the alldifferent global constraint from the constraint programming world. The alldifferent constraint is known to be efficient for domain filtering in the presence of constraints that must be pairwise different, which are exactly the kind of constraints that Sudokus own. This ability clearly alleviates the work of the tabu search, resulting in a faster and more robust approach for solving Sudokus. We illustrate interesting experimental results where our proposed algorithm outperforms the best results previously reported by hybrids and approximate methods.

Authors

  • Ricardo Soto
    Escuela de Ingeniería Informática, Pontificia Universidad Católica de Valparaíso, Avenida Brasil 2241, Valparaíso 2362807, Chile.
  • Broderick Crawford
    Escuela de Ingeniería Informática, Pontificia Universidad Católica de Valparaíso, Avenida Brasil 2241, Valparaíso 2362807, Chile.
  • Cristian Galleguillos
    Pontificia Universidad Católica de Valparaíso, 2362807 Valparaíso, Chile.
  • Fernando Paredes
    Escuela de Ingeniería Industrial, Universidad Diego Portales, 8370109 Santiago, Chile.
  • Enrique Norero
    Facultad de Ingeniería, Universidad Santo Tomás, 2561694 Viña del Mar, Chile.