
TL;DR
This paper introduces Monte Carlo methods, including a novel quantile re-ordering technique, to efficiently count solutions to the N-queens problem in polynomial time, advancing combinatorial enumeration techniques.
Contribution
It presents a new Monte Carlo approach with a quantile re-ordering method for counting N-queens solutions efficiently in polynomial time.
Findings
Monte Carlo methods can count solutions efficiently.
Quantile re-ordering improves counting accuracy.
Polynomial-time solution for N-queens enumeration.
Abstract
Gauss proposed the problem of how to enumerate the number of solutions for placing queens on an chess board, so no two queens attack each other. The N-queen problem is a classic problem in combinatorics. We describe a variety of Monte Carlo (MC) methods for counting the number of solutions. In particular, we propose a quantile re-ordering based on the Lorenz curve of a sum that is related to counting the number of solutions. We show his approach leads to an efficient polynomial-time solution. Other MC methods include vertical likelihood Monte Carlo, importance sampling, slice sampling, simulated annealing, energy-level sampling, and nested-sampling. Sampling binary matrices that identify the locations of the queens on the board can be done with a Swendsen-Wang style algorithm. Our Monte Carlo approach counts the number of solutions in polynomial time.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNames, Identity, and Discrimination Research
