<p>This does not answer directly your Max-SAT problem but the references may guide you to the complete answer.</p>

<p>Szeider showed that Satisfiability is ﬁxed-parameter tractable when parameterized by the treewidth of the incidence graph. Samer and Szeider gave an eﬃcient dynamic programming algorithm. </p>

<p><strong>References</strong></p>

<p>S. Szeider. On ﬁxed-parameter tractable parameterizations of SAT. In Proc. 6th
International Conference on Theory and Applications of Satisﬁability (SAT’03),
Selected and Revised Papers, vol. 2919 of LNCS, pages 188–202. Springer-Verlag,
2004.</p>

<p>M. Samer and S. Szeider. Algorithms for propositional model counting. In Proc.
14th Internationial Conference on Logic for Programming, Artiﬁcial Intelligence
and Reasoning (LPAR’07), vol. 4790 of LNCS, pages 484–498. Springer-Verlag,
2007.</p>

<p>Samer and Szeider, Fixed-parameter tractability. In A. Biere, M. Heule,
H. van Maaren, and T. Walsh, editors, Handbook of Satisﬁability, part 1,
chapter 13. IOS Press</p>

CC BY-SA 3.0
2014-01-31T20:22:31.490Z
I know some of Stefan Szeiders work, a more recent paper shows that #SAT is polynomial when the incedence graph has bounded clique-width which also imlies bounded tree-width (although here we have XP runtime instead of FPT).

Friedrich Slivovsky and Stefan Szeider, Model Counting for Formulas of Bounded Clique-Width, Algorithms and Computation, vol. 8283,p. 677-687, LNCS,2013

I know that these type of results often would translate into MAX-SAT, but it would be much easier have a reference where this is already done instead of doing it myself.
Martin Vatshelle
CC BY-SA 3.0
2014-01-31T18:23:44.943Z
2014-01-31T18:35:05.280Z
2014-01-31T18:35:05.280Z
Mohammad Al-Turkistany
<p>We found one kind of such property:</p>

<p>For a formula $F$ , if $F$ has a linear ordering of the variables and clauses such that for any variable $x$ occurring in clause $C$, if $x$ appears before $C$ then any variable between them also occurs in $C$, and if $C$ appears before $x$ then $x$ occurs also in any clause between them.
Then we can solve MAX-SAT in polynomial time.</p>

<p>see:<a href="http://arxiv.org/abs/1402.6485" rel="nofollow">http://arxiv.org/abs/1402.6485</a></p>

<p>Are there any other such properties known?</p>

CC BY-SA 3.0
2014-03-05T20:43:38.317Z
2014-03-05T20:43:38.317Z
Martin Vatshelle
<p>The problem Max-Sat ask you to find an assignment of a CNF formula which satisfy as many clauses as possible.</p>

<p>For the simpler problem SAT there are many known special cases which can be solved in polynomial time, e.g. we can solve 2-SAT in polynomial time.</p>

<p>For Max-Sat the situation is different since Max-Sat is NP-hard even for 2-CNF formulas (each clause contains only 2 variables).</p>

<p>Is there any interesting special inputs for which Max-Sat is polynomial? </p>

<p>In particular I would be interested in a standard reference for solving Max-Sat when the incedence graph has bounded treewidth.</p>

CC BY-SA 3.0
2014-01-31T19:19:44.953Z
Planar max-cut is a special case of max-cut, which is (in a sense) a special case of max-2-sat.
Jukka Suomela
<sat><treewidth><max2sat>
Polynomial time solvable instances of Max-Sat
Martin Vatshelle
# Polynomial time solvable instances of Max-Sat

(Asked by: username_0 on 2014-01-31)

The problem Max-Sat ask you to find an assignment of a CNF formula which satisfy as many clauses as possible.

For the simpler problem SAT there are many known special cases which can be solved in polynomial time, e.g. we can solve 2-SAT in polynomial time.

For Max-Sat the situation is different since Max-Sat is NP-hard even for 2-CNF formulas (each clause contains only 2 variables).

Is there any interesting special inputs for which Max-Sat is polynomial?

In particular I would be interested in a standard reference for solving Max-Sat when the incedence graph has bounded treewidth.

**Tags:** sat, treewidth, max2sat
> **Comments:**
> **username_1**: Planar max-cut is a special case of max-cut, which is (in a sense) a special case of max-2-sat.  

---

## 2 answers

### Answer by username_2 on 2014-01-31. Score: 6

This does not answer directly your Max-SAT problem but the references may guide you to the complete answer.

Szeider showed that Satisfiability is ﬁxed-parameter tractable when parameterized by the treewidth of the incidence graph. Samer and Szeider gave an eﬃcient dynamic programming algorithm.

**References**

S. Szeider. On ﬁxed-parameter tractable parameterizations of SAT. In Proc. 6th
International Conference on Theory and Applications of Satisﬁability (SAT’03),
Selected and Revised Papers, vol. 2919 of LNCS, pages 188–202. Springer-Verlag,
2004.

M. Samer and S. Szeider. Algorithms for propositional model counting. In Proc.
14th Internationial Conference on Logic for Programming, Artiﬁcial Intelligence
and Reasoning (LPAR’07), vol. 4790 of LNCS, pages 484–498. Springer-Verlag,
2007.

Samer and Szeider, Fixed-parameter tractability. In A. Biere, M. Heule,
H. van Maaren, and T. Walsh, editors, Handbook of Satisﬁability, part 1,
chapter 13. IOS Press

> **Comments:**
> **username_0**: I know some of Stefan Szeiders work, a more recent paper shows that #SAT is polynomial when the incedence graph has bounded clique-width which also imlies bounded tree-width (although here we have XP runtime instead of FPT).  Friedrich Slivovsky and Stefan Szeider, Model Counting for Formulas of Bounded Clique-Width, Algorithms and Computation, vol. 8283,p. 677-687, LNCS,2013  I know that these type of results often would translate into MAX-SAT, but it would be much easier have a reference where this is already done instead of doing it myself.  

---

### Answer by username_0 on 2014-03-05. Score: 0

We found one kind of such property:

For a formula $F$ , if $F$ has a linear ordering of the variables and clauses such that for any variable $x$ occurring in clause $C$, if $x$ appears before $C$ then any variable between them also occurs in $C$, and if $C$ appears before $x$ then $x$ occurs also in any clause between them.
Then we can solve MAX-SAT in polynomial time.

see:<http://arxiv.org/abs/1402.6485>

Are there any other such properties known?


---

