Counting Solutions for the N-queens and Latin Square Problems by Efficient Monte Carlo Simulations

Physics – Condensed Matter – Statistical Mechanics

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

10 pages, 4 figures

Scientific paper

10.1103/PhysRevE.79.016703

We apply Monte Carlo simulations to count the numbers of solutions of two well-known combinatorial problems: the N-queens problem and Latin square problem. The original system is first converted to a general thermodynamic system, from which the number of solutions of the original system is obtained by using the method of computing the partition function. Collective moves are used to further accelerate sampling: swap moves are used in the N-queens problem and a cluster algorithm is developed for the Latin squares. The method can handle systems of $10^4$ degrees of freedom with more than $10^10000$ solutions. We also observe a distinct finite size effect of the Latin square system: its heat capacity gradually develops a second maximum as the size increases.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Counting Solutions for the N-queens and Latin Square Problems by Efficient Monte Carlo Simulations does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Counting Solutions for the N-queens and Latin Square Problems by Efficient Monte Carlo Simulations, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Counting Solutions for the N-queens and Latin Square Problems by Efficient Monte Carlo Simulations will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-541845

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.