Metaheuristics can solve sudoku puzzles

被引:59
作者
Lewis, Rhyd [1 ]
机构
[1] Napier Univ, Sch Comp, Ctr Emergent Comp, Edinburgh EH10 5DT, Midlothian, Scotland
关键词
metaheuristics; Sudoku; puzzles; phase-transition;
D O I
10.1007/s10732-007-9012-8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:387 / 401
页数:15
相关论文
共 19 条
[1]  
ABRAMSON D, 1996, ASIA PACIFIC J OPERA, V16, P1
[2]  
[Anonymous], 2002, HDB APPL OPTIMIZATIO
[3]  
[Anonymous], 1987, SIMULATED ANNEALING
[4]  
ARMSTRONG S, 2005, ONLINE RESOURCE
[5]  
CHEESEMAN P, 1991, P IJCAI, V91, P331
[6]  
COLBOURN CJ, 1984, LECT NOTES MATH, V1073, P248
[7]   Graph coloring with adaptive evolutionary algorithms [J].
Eiben, AE ;
Van der Hauw, JK ;
Van Hemert, JI .
JOURNAL OF HEURISTICS, 1998, 4 (01) :25-46
[8]  
Garey MR, 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
[9]  
HUCKVALE M, 2005, M HUCKVALE SUDOKU PU
[10]   OPTIMIZATION BY SIMULATED ANNEALING [J].
KIRKPATRICK, S ;
GELATT, CD ;
VECCHI, MP .
SCIENCE, 1983, 220 (4598) :671-680