English

WalkSAT is linear on random 2-SAT

Combinatorics 2025-04-14 v2 Discrete Mathematics

Abstract

In an influential article Papadimitriou [FOCS 1991] proved that a local search algorithm called WalkSAT finds a satisfying assignment of a satisfiable 2-CNF with nn variables in O(n2)O(n^2) expected time. Variants of the WalkSAT algorithm have become a mainstay of practical SAT solving (e.g., [Hoos and St\"utzle 2000]). In the present article we analyse the expected running time of WalkSAT on random 2-SAT instances. Answering a question raised by Alekhnovich and Ben-Sasson [SICOMP 2007], we show that WalkSAT runs in linear expected time for all clause/variable densities up to the random 2-SAT satisfiability threshold.

Keywords

Cite

@article{arxiv.2412.04156,
  title  = {WalkSAT is linear on random 2-SAT},
  author = {Petra Berenbrink and Amin Coja-Oghlan and Colin Cooper and Thorsten Götte and Lukas Hintze and Pavel Zakharov},
  journal= {arXiv preprint arXiv:2412.04156},
  year   = {2025}
}
R2 v1 2026-06-28T20:24:12.652Z