cs.DSOct 29, 2026

Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT

Authors: Konstantin Kutzkov

Abstract

We present deterministic polynomial-space algorithms that solve Max 2-SAT on nn variables exactly in time \Ostar(2(1−γ)n)\Ostar(2^{(1-γ)n}), for a fixed γ>0γ>0, on several classes of instances whose clause density may grow with nn. Our main tool extends the classic DPLL branching algorithm. When the search gives a variable its less promising value, comparing the two values of the variable yields a pruning constraint that is satisfied by some optimal assignment. Accumulating these constraints along each branch prunes all but an exponentially small fraction of the assignments. The classes are formulas with many biased variables, semirandom 2-CNF formulas, and Max-Cut on regular expander graphs and on graphs generated by a stochastic block model. In a semirandom formula, the pairs of variables that may share a clause are arbitrary, and the clauses on these pairs are random. For semirandom formulas and block-model graphs, the algorithms are still exact on every input, and the time bound holds with high probability over the input. To our knowledge, these are the first polynomial-space algorithms with such a running time for nontrivial classes of dense Max 2-SAT instances. Beyond these classes, the pruning constraints can be added to any branching algorithm for Max 2-SAT, and we expect them to be of practical relevance for general formulas, in particular for sparse ones, where each constraint involves only a few variables.

Figures & tables

Explore similar work

CardsList
  1. Maximum Satisfiability of Simple Temporal Problems

    Jul 26, 2026Johannes K. Fichte, Johanna Groven, Peter Jonsson +2Temporal ReasoningParameterized Complexity

  2. Solving Max-Cut to Global Optimality via Feasibility-Preserving Graph Neural Networks

    May 8, 2026Hao Chen, Chendi Qian, Christopher Morris +2Max-CutSemidefinite Programming

  3. Cost-Optimal Decision Diagrams for Stochastic Boolean Function Evaluation

    Jun 23, 2026Xia Zong, Tuomo Lehtonen, Jussi RintanenBranch and BoundCost-Aware Inference