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

DevFeed: [Accumulating Pruning Constraints: New Exact Polynomial-Space Algorithms for Max 2-SAT](<https://devfeed.tech/articles/accumulating-pruning-constraints-new-exact-polynomial-space-algorithms-for-max-2-sat-108252.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39992>)

Author: Konstantin Kutzkov

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Combinatorial optimization](<https://devfeed.tech/topics/combinatorial-optimization.md>)

Tags: [2-sat](<https://devfeed.tech/tags/2-sat.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ds](<https://devfeed.tech/tags/cs-ds.md>), [space](<https://devfeed.tech/tags/space.md>)

## AI overview

The paper presents deterministic polynomial-space algorithms that solve Max 2-SAT exactly in O*(2^((1−γ)n)) time for a fixed γ>0 on several instance classes, including formulas with many biased variables, semirandom 2-CNF formulas, and Max-Cut on regular expander or stochastic block model graphs. The method extends DPLL: when branching on a variable's less promising value, it derives a constraint satisfied by some optimal assignment. Accumulating these constraints along a branch prunes all but an exponentially small fraction of assignments. For semirandom formulas and block-model graphs, correctness holds on every input, while the time bound holds with high probability over the input. The authors say the pruning constraints can be added to any Max 2-SAT branching algorithm and may be practically relevant to general formulas, especially sparse ones.

## Source excerpt

arXiv:2610.39992v1 Announce Type: cross Abstract: We present deterministic polynomial-space algorithms that solve Max 2-SAT on $n$ variables exactly in time $\Ostar(2^{(1-\gamma)n})$, for a fixed $\gamma>0$, on several classes of instances whose clause density may grow with $n$. 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.