English

Exact Enumeration and Sampling of Matrices with Specified Margins

Computation 2011-04-05 v1 Discrete Mathematics

Abstract

We describe a dynamic programming algorithm for exact counting and exact uniform sampling of matrices with specified row and column sums. The algorithm runs in polynomial time when the column sums are bounded. Binary or non-negative integer matrices are handled. The method is distinguished by applicability to non-regular margins, tractability on large matrices, and the capacity for exact sampling.

Keywords

Cite

@article{arxiv.1104.0323,
  title  = {Exact Enumeration and Sampling of Matrices with Specified Margins},
  author = {Jeffrey W. Miller and Matthew T. Harrison},
  journal= {arXiv preprint arXiv:1104.0323},
  year   = {2011}
}
R2 v1 2026-06-21T17:48:35.970Z