“…The size of the subset can then be expressed as the exponential of the entropy of this distribution times the probability that a random object drawn from this distribution satisfies the constraints. In the example of enumerating integer partitions, these maximum entropy distributions take the form of sequences of independent geometric random variables with different means [9,1], and asymptotic enumeration can be accomplished by solving a convex optimization problem to find these means and then proving a local central limit theorem for linear combinations of independent geometric random variables [19,7,18,17]. This approach naturally leads to considering statistical physics models.…”