An Efficient Algorithm for Solving the 2-MAXSAT Problem

被引:0
|
作者
Chen, Yangjun [1 ]
机构
[1] Univ Winnipeg, Dept Appl Comp Sci, Winnipeg, MB, Canada
来源
CONTEMPORARY MATHEMATICS | 2024年 / 5卷 / 03期
关键词
satisfiability problem; maximum satisfiability problem; NP-hard; NP-complete; conjunctive normal form; disjunctive normal form; COMPLEXITY;
D O I
10.37256/cm.5320243304
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
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 O(n n m (log2 2 ) ). 2 3 nm log 2 nm In the case that log2 2 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 .
引用
收藏
页码:3374 / 3391
页数:18
相关论文
共 50 条
  • [21] An Efficient Genetic Algorithm for Solving the Order Allocation Problem
    Wang, Jen-Ya
    Cheng, Ching-Mei
    Tu, Sheng-Chung
    MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 3939 - +
  • [22] Bee swarm optimization for solving the MAXSAT problem using prior knowledge
    Youcef Djenouri
    Zineb Habbas
    Djamel Djenouri
    Philippe Fournier-Viger
    Soft Computing, 2019, 23 : 3095 - 3112
  • [23] A General Clause Weighting Method for Solving the Weighted Partial MaxSAT Problem
    Zheng J.-Z.
    He K.
    Jisuanji Xuebao/Chinese Journal of Computers, 2024, 47 (06): : 1341 - 1354
  • [24] Bee swarm optimization for solving the MAXSAT problem using prior knowledge
    Djenouri, Youcef
    Habbas, Zineb
    Djenouri, Djamel
    Fournier-Viger, Philippe
    SOFT COMPUTING, 2019, 23 (09) : 3095 - 3112
  • [25] On Solving MaxSAT Through SAT
    Ansotegui, Carlos
    Luisa Bonet, Maria
    Levy, Jordi
    ARTIFICIAL INTELLIGENCE RESEARCH AND DEVELOPMENT, 2009, 202 : 284 - 292
  • [26] Preprocessing in Incomplete MaxSAT Solving
    Leivo, Marcus
    Berg, Jeremias
    Jarvisalo, Matti
    ECAI 2020: 24TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, 325 : 347 - 354
  • [28] An Efficient Physarum Algorithm for Solving the Bicriteria Traffic Assignment Problem
    Zhang, Xiaoge
    INTERNATIONAL JOURNAL OF UNCONVENTIONAL COMPUTING, 2015, 11 (5-6) : 473 - 490
  • [30] An Efficient Algorithm for Solving a Stochastic Location-Routing Problem
    Hassan-Pour, H. A.
    Mosadegh-Khah, M.
    Zareei, M.
    JOURNAL OF MATHEMATICS AND COMPUTER SCIENCE-JMCS, 2014, 12 (01): : 27 - 38