Projects per year
Abstract
The n-Queens problem is to place n chess queens on an n by n chessboard so that no two queens are on the same row, column or diagonal. The n-Queens Completion problem is a variant, dating to 1850, in which some queens are already placed and the solver is asked to place the rest, if possible. We show that n-Queens Completion is both NP-Complete and #P-Complete. A corollary is that any non-attacking arrangement of queens can be included as a part of a solution to a larger n-Queens problem. We introduce generators of random instances for n-Queens Completion and the closely related Blocked n-Queens and Excluded Diagonals Problem. We describe three solvers for these problems, and empirically analyse the hardness of randomly generated instances. For Blocked n-Queens and the Excluded Diagonals Problem, we show the existence of a phase transition associated with hard instances as has been seen in other NP-Complete problems, but a natural generator for n-Queens Completion did not generate consistently hard instances. The significance of this work is that the n-Queens problem has been very widely used as a benchmark in Artificial Intelligence, but conclusions on it are often disputable because of the simple complexity of the decision problem. Our results give alternative benchmarks which are hard theoretically and empirically, but for which solving techniques designed for n-Queens need minimal or no change.
Original language | English |
---|---|
Title of host publication | Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence |
Editors | Jérôme Lang |
Publisher | International Joint Conferences on Artificial Intelligence |
Pages | 5608-5611 |
Number of pages | 4 |
ISBN (Electronic) | 9780999241127 |
DOIs | |
Publication status | Published - 13 Jul 2018 |
Event | 27th International Joint Conference on Artificial Intelligence and the 23rd European Conference on Artificial Intelligence - Stockholmsmässan, Älvsjö , Stockholm, Sweden Duration: 13 Jul 2018 → 19 Jul 2018 Conference number: 27/23 https://www.ijcai-18.org/ |
Conference
Conference | 27th International Joint Conference on Artificial Intelligence and the 23rd European Conference on Artificial Intelligence |
---|---|
Abbreviated title | IJCAI-ECAI-18 |
Country/Territory | Sweden |
City | Stockholm |
Period | 13/07/18 → 19/07/18 |
Internet address |
Fingerprint
Dive into the research topics of 'Complexity of n-Queens completion (extended abstract)'. Together they form a unique fingerprint.Projects
- 3 Finished
-
Combining Constraints and Verification: Combining Constraints and Verification
Jefferson, C. A. (PI)
31/07/14 → 30/07/17
Project: Standard
-
University Research Fellowship 2013: University Research Fellowship 2013
Jefferson, C. A. (PI)
1/10/13 → 30/09/18
Project: Fellowship
-
Working Together in ICT: Working Together: Constraint Programming and Cloud Computing
Miguel, I. J. (PI) & Barker, A. D. (CoI)
1/01/13 → 30/09/16
Project: Standard