Proposed by Ian Gent

# Overview

The Problem, , suffers from the problem that its complexity is trivial as a decision problem.
The Blocked n-Queens problems is a variant of which has been proven to be NP-Complete as a decision problem and #P-Complete as a counting problem.

The Blocked $n$-Queens problem is a variant where, as well as $n$, the input contains a list of squares which are blocked. A solution to the problem is a solution to the $n$-Queens problem containing no queens on any of the blocked squares.

The Blocked $n$-Queens problem is closely related to , .

# Instances

Python generators are available to implement the model from the paper. Generator for random blocked n-Queens instances

Also provided are instances from the ASP Competitions (thanks to Martin Gebser for providing these.) Results of ASP solvers on those instances can be found at the 2007 ASP Competition and the 2009 ASP Competition pages.

# References

The Blocked $n$-Queens problem was proposed by and used in ASP Competitions . The problem was proved NP-Complete and #P-Complete by, and the same paper introduced a generator of ranodm instances.