An Efficient Algorithm for Solving the 2-MAXSAT Problem
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 . In the case that log2 nm 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.
Authors
- Yangjun Chen (ORCID: https://orcid.org/0000-0002-4991-9558)
Institutions
- The University of Winnipeg (CA)
Publication Details
- Journal
- Contemporary Mathematics
- Published
- 2024-08-19
- DOI
- https://doi.org/10.37256/cm.5320243304
- Primary Topic
- Optimization and Search Problems
- Type
- article
- Field-Weighted Citation Impact
- 0.00