English

Exact sampling algorithms for Latin squares and Sudoku matrices via probabilistic divide-and-conquer

Statistics Theory 2016-09-09 v2 Statistics Theory

Abstract

We provide several algorithms for the exact, uniform random sampling of Latin squares and Sudoku matrices via probabilistic divide-and-conquer (PDC). Our approach divides the sample space into smaller pieces, samples each separately, and combines them in a manner which yields an exact sample from the target distribution. We demonstrate, in particular, a version of PDC in which one of the pieces is sampled using a brute force approach, which we dub almost deterministic second half\textit{almost deterministic second half}, as it is a generalization to a previous application of PDC for which one of the pieces is uniquely determined given the others.

Keywords

Cite

@article{arxiv.1502.00235,
  title  = {Exact sampling algorithms for Latin squares and Sudoku matrices via probabilistic divide-and-conquer},
  author = {Stephen DeSalvo},
  journal= {arXiv preprint arXiv:1502.00235},
  year   = {2016}
}

Comments

22 pages

R2 v1 2026-06-22T08:18:02.975Z