A Las Vegas algorithm for satisfiable SAT formulas, with an application to timetabling
Fabio Dias
Abstract
Many scheduling problems need many different feasible timetables, and a view of how much freedom each event has. We study a Las Vegas algorithm that samples satisfying assignments of a Boolean formula one variable at a time: it draws each value from an estimate of its conditional probability, propagates, and restarts on a contradiction. Every output is a checked solution and comes with the exact probability of producing it. We prove that a run succeeds with probability at least 2-K, where K is the expected Kullback--Leibler divergence between the true and estimated conditional probabilities along the run of a uniform solution. We also bound the distance of the outputs from uniform from the samples alone; it is a divergence in the opposite direction to K, so a sampler can succeed more often while being farther from uniform. On generated timetabling instances counted exactly, belief propagation on the timetabling problem brings K to at most about one bit, and the estimated counts are within 2% of the exact ones. On a real university instance of the International Timetabling Competition 2019, rerunning only the failed runs delivered all 72 requested timetables with each of two estimators. Belief propagation succeeds in 31% of runs. Steered by a Markov chain that carries a nearly feasible timetable, it succeeds in 65% of runs, with outputs at least 300 bits from uniform. There the importance weights are too uneven to estimate the number of timetables, and we certify a lower bound instead. For random 3-SAT, an estimator whose K grows logarithmically would give a polynomial-time Las Vegas algorithm beyond the densities at which any algorithm is proved to succeed; we conjecture that one exists below the satisfiability threshold.
Create a lesson
Related papers
A new family of deformed trigonometric functions and their corresponding Pythagorean-like relations: application to the nonlinear harmonic oscillator
Shared title terminology · P. R. Gordoa, A. Pickering, D. Puertas-Centeno et al.
OFFER (One-Formula-Facilitates-Every-Relation) for Calculus
Shared title terminology · Samuel S. P. Shen
Partition-theoretic density formulas: radial Tauberian theory and non-radial instability
Shared title terminology · Mohammad F. Marashdeh
Restricted Coprime Representations Modulo 6P: Exact CRT Formulas and Positivity Thresholds
Shared title terminology · Andres M. Salazar
From Umbral Hyperbolic Integrals to a Cotangent Coefficient Formula for the Mittag Leffler Polynomials
Shared title terminology · Luc Ramsès Talla Waffo