An Efficient Algorithm for Solving the 2-MAXSAT Problem

Authors

DOI:

https://doi.org/10.37256/cm.5320243304

Keywords:

satisfiability problem, maximum satisfiability problem, NP-hard, NP-complete, conjunctive normal form, disjunctive normal form

Abstract

In the maximum satisfiability (MAXSAT) problem, we are given a set V of m variables and a collection C of n clauses over V. We will seek a truth assignment to maximize the number of satisfied clauses. This problem is NP-hard even for its restricted version, the 2-MAXSAT problem, in which every clause contains at most two literals. In this paper, we discuss an efficient algorithm to solve this problem. Its worst-case time complexity is bounded by mceclip0-8715bc351a2462c8a5d9857cc5c7dd9c.png. In the case that log2nm is bounded by a constant, our algorithm is a polynomial algorithm. In terms of Garey and Johnson, any satisfiability instance can be transformed to a 2-MAXSAT instance in polynomial time. Thus, our algorithm may lead to a proof of P = NP.

Downloads

Published

2024-08-19

How to Cite

1.
Chen Y. An Efficient Algorithm for Solving the 2-MAXSAT Problem. Contemp. Math. [Internet]. 2024 Aug. 19 [cited 2024 Nov. 16];5(3):3374-91. Available from: https://ojs.wiserpub.com/index.php/CM/article/view/3304

Issue

Section

Special Issue: ICAMAI - 2023