On the hardness of solving edge matching puzzles as SAT or CSP problems

被引:0
作者
Carlos Ansótegui
Ramón Béjar
Cèsar Fernández
Carles Mateu
机构
[1] Universitat de Lleida,
来源
Constraints | 2013年 / 18卷
关键词
Constraints; SAT; CSP; Edge matching puzzles; Puzzles; Phase transition; Hardness;
D O I
暂无
中图分类号
学科分类号
摘要
Edge matching puzzles have been amongst us for a long time now and traditionally they have been considered, both, a children’s game and an interesting mathematical divertimento. Their main characteristics have already been studied, and their worst-case complexity has been properly classified as a NP-complete problem. It is in recent times, specially after being used as the problem behind a money-prized contest, with a prize of 2US$ million for the first solver, that edge matching puzzles have attracted mainstream attention from wider audiences, including, of course, computer science people working on solving hard problems. We consider these competitions as an interesting opportunity to showcase SAT/CSP solving techniques when confronted to a real world problem to a broad audience, a part of the intrinsic, i.e. monetary, interest of such a contest. This article studies the NP-complete problem known as edge matching puzzle using SAT and CSP approaches for solving it. We will focus on providing, first and foremost, a theoretical framework, including a generalized definition of the problem. We will design and show algorithms for easy and fast problem instances generation, generators with easily tunable hardness. Afterwards we will provide with SAT and CSP models for the problems and we will study problem complexity, both typical case and worst-case complexity. We will also provide some specially crafted heuristics that result in a boost in solving time and study which is the effect of such heuristics.
引用
收藏
页码:7 / 37
页数:30
相关论文
共 46 条
[1]  
Achlioptas D(2005)Hiding truth assignments: two are better than one Journal of Artifical Intelligence Research 24 623-639
[2]  
Jia H(2005)Rigorous location of phase transitions in hard optimization problems Nature 435 759-973
[3]  
Moore C(2004)The threshold for random Journal of the American Mathematical Society 17 947-614
[4]  
Achlioptas D(2011)-sat is Journal of Heuristics 17 589-108
[5]  
Naor A(2008)Generating highly balanced sudoku problems as hard problems Frontiers in Artificial Intelligence and Applications - Artificial Intelligence Research and Development 184 99-49
[6]  
Peres Y(2008)How hard is a commercial puzzle: the Eternity II challenge Constraint Programming Letters 3 36-137
[7]  
Achlioptas D(2006)Fast global filtering for eternity II Constraints 11 115-26
[8]  
Peres Y(2007)Symmetry definitions for constraint satisfaction problems Graphs and Combinatorics 23 195-46
[9]  
Ansótegui C(2006)Jigsaw puzzles, edge matching, and polyomino packing: connections and complexity Journal of Satisfiability 2 1-313
[10]  
Béjar R(2006)Translating pseudo-Boolean constraints into SAT Journal on Satisfiability, Boolean Modeling and Computation 2 27-137