Metaheuristics can solve sudoku puzzles |
| |
Authors: | Rhyd Lewis |
| |
Affiliation: | (1) Centre for Emergent Computing, School of Computing, Napier University, Edinburgh, Scotland, EH10 5DT, UK;(2) Present address: Quantitative Methods Research Group, Cardiff Business School, Cardiff University, Cardiff, Wales, CF10 3EU, UK |
| |
Abstract: | ![]() In this paper we present, to our knowledge, the first application of a metaheuristic technique to the very popular and NP-complete puzzle known as ‘sudoku’. We see that this stochastic search-based algorithm, which uses simulated annealing, is able to complete logic-solvable puzzle-instances that feature daily in many of the UK’s national newspapers. We also introduce a new method for producing sudoku problem instances (that are not necessarily logic-solvable) and use this together with the proposed SA algorithm to try and discover for what types of instances this algorithm is best suited. Consequently we notice the presence of an ‘easy-hard-easy’ style phase-transition similar to other problems encountered in operational research. |
| |
Keywords: | Metaheuristics Sudoku Puzzles Phase-transition |
本文献已被 SpringerLink 等数据库收录! |
|