Practically Uniform Solution Sampling in Constraint Programming

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The ability to sample solutions of a constrained combinatorial space has important applications in areas such as probabilistic reasoning and hardware/software verification. A highly desirable property of such samples is that they should be drawn uniformly at random, or at least nearly so. For combinatorial spaces expressed as sat models, approaches based on universal hashing provide probabilistic guarantees about sampling uniformity. In this short paper, we apply that same approach to cp models, for which hashing functions take the form of linear constraints in modular arithmetic. We design an algorithm to generate an appropriate combination of linear modular constraints given a desired sample size. We evaluate empirically the sampling uniformity and runtime efficiency of our approach, showing it to be near-uniform at a fraction of the time needed to draw from the complete set of solutions.

Cite

CITATION STYLE

APA

Pesant, G., Quimper, C. G., & Verhaeghe, H. (2022). Practically Uniform Solution Sampling in Constraint Programming. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 13292 LNCS, pp. 335–344). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-08011-1_22

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free