Live data from Hacker News

The N-Queens completion problem is NP-hard

atlasobscura.com

1–10 of 57 posts

Re: The N-Queens completion problem is NP-hard

#7
post #2

The million-dollar prize just appears to be the Clay Institute's prize for solving P vs NP. I am guessing that the queens problem (a special case of maximum independent set in a graph) is NP-Hard.

Damn it. I didn't know it's NP hard. I thought I would discover the generating function for the number of possible solutions for board sized N.

Re: The N-Queens completion problem is NP-hard

#10
post #2

The million-dollar prize just appears to be the Clay Institute's prize for solving P vs NP. I am guessing that the queens problem (a special case of maximum independent set in a graph) is NP-Hard.

Damn it. I didn't know it's NP hard. I thought I would discover the generating function for the number of possible solutions for board sized N.

Counting solutions is not a decision problem, so it can't be in NP. The corresponding counting complexity class is #P.
Post reply on HN