首页|求解加权偏MaxSAT问题的通用子句加权方法

求解加权偏MaxSAT问题的通用子句加权方法

扫码查看
最大可满足性问题(Maximum Satisfiability Problem,MaxSAT)是著名的可满足性问题(Satisfiability Problem,SAT)的优化形式,也是一个经典的NP难组合优化问题.加权偏MaxSAT(Weighted Partial MaxSAT,WPMS)是最一般的一类MaxSAT问题,其中包含了必须要满足的硬子句,对应了优化问题中的约束条件,以及带权重的软子句,对应了优化问题中的优化目标.WPMS旨在满足所有硬子句的同时最大化被满足软子句的权重之和.工业场景中和学术领域中的许多优化问题都能够转化成WPMS问题进行求解,因此WPMS具有广泛的应用领域和重要的研究意义.局部搜索方法是求解WPMS问题的一种著名且被广泛研究的非完备方法.子句加权技术是WPMS局部搜索算法中常用的一种有效且关键的技术,通过为子句赋予动态权重并在搜索过程中更新它们以引导搜索方向,帮助算法逃离局部最优.最先进的WPMS局部搜索算法都提出或采用了有效的子句加权技术,以帮助它们在不同的解空间中搜索.然而,现有的子句加权技术仅根据当前局部最优解更新子句动态权重,而未考虑任何历史信息,可能导致子句加权的视野局限,对搜索方向的引导不够准确.为了解决这一问题,提出了一种新的子句加权技术,称为Hist-Weighting(Clause Weighting with Historical Information),同时考虑了当前及历史信息来更新子句的动态权重,以改进子句加权机制和局部搜索算法的搜索精度和效率.具体而言,Hist-Weighting为那些同时被当前和历史局部最优解所不满足的子句赋予更大的动态权重增量,使算法更倾向于满足那些久未被满足且难以被满足的子句,提高子句加权的准确度.此外,在Hist-Weighting中,子句动态权重的增量能够根据子句中的变元得分自适应地调整,使子句加权更具有灵活性.Hist-Weighting还为子句动态权重的增量设置了上下限,保证了子句加权的稳定性.为了评估所提出的Hist-Weighting子句加权技术的性能,将其应用于三种最先进的WPMS局部搜索算法,即BandMaxSAT、SATLike3.0和CCEHC.在近五届 MaxSAT国际算法竞赛 MaxSAT Evaluation非完备组的所有WPMS算例上的实验结果表明,应用Hist-Weighting技术的改进算法相比于原算法在获胜算例数上能够提升约10%至60%,体现了所提出的Hist-Weighting子句加权技术在求解WPMS问题时的有效性.此外,通过将应用了 Hist-Weighting的改进局部搜索算法与其变体算法对比以进行消融实验,表明了 Hist-Weighting中限制动态权重增量上下限,以及使动态权重增量根据变元得分自适应调整的机制的有效性.
A General Clause Weighting Method for Solving the Weighted Partial MaxSAT Problem
The Maximum Satisfiability Problem(MaxSAT)is an optimization form of the well-known Satisfiability Problem(SAT)and a classic NP-hard combinatorial optimization problem.The Weighted Partial MaxSAT(WPMS)is the most general type of MaxSAT problem,which includes hard clauses that must be satisfied,corresponding to the constraints in optimization problems,and weighted soft clauses that correspond to the optimization objective in optimization problems.WPMS aims to satisfy all hard clauses while maximizing the total weight of the satisfied soft clauses.Many optimization problems in industrial scenarios and academic fields can be trans-formed into WPMS for solving.Therefore,WPMS has a wide range of application domains and is of important research significance.The local search method is a well-known and widely studied incomplete method for solving WPMS.The clause weighting technique is an effective and crucial technique that is commonly used in WPMS local search algorithms,which assigns dynamic weights to clauses and updates them during the search process to guide the search direction,helping the algorithm escape from local optima.The most advanced WPMS local search algorithms have proposed or adopted effective clause weighting techniques to help them search in different solution spaces.However,existing clause weighting techniques only update the dynamic weights of clauses based on the current local optimal solution without considering any historical information,which may limit the perspective of clause weighting and lead to inaccurate guidance of search direction.To address this issue,a new clause weighting technique called Hist-Weighting(Clause Weighting with Historical Information)is proposed,which simultaneously considers the current and historical information to update the dynamic weights of clauses,in order to improve the search accuracy and efficiency of the clause weighting scheme and the local search algorithm.Specifically,Hist-Weighting assigns greater dynamic weight increments to clauses that are not satisfied by both the current and historical local optima,making the algorithm more inclined to satisfy clauses that have not been satisfied for a long time and are difficult to satisfy,so as to improve the accuracy of the clause weighting scheme.In addition,in Hist-Weighting,the increment of clause dynamic weights can be adaptively adjusted to make the clause weighting scheme more flexible.Hist-Weighting also sets upper and lower limits for the increment of dynamic weights in clauses,ensuring the stability of the clause weighting scheme.To evaluate the performance of the proposed Hist-Weighting clause weighting technique,it was applied to three state-of-the-art WPMS local search algorithms,namely BandMaxSAT,SATLike3.0,and CCEHC.The experimental results on all WPMS instances of the incomplete track of the last five years of MaxSAT Evaluations show that the improved algorithm using Hist-Weighting can increase the number of winning instances by about 10%to 60%compared to the baseline algorithm,indicating the effectiveness of the proposed Hist-Weighting clause weighting technique in solving WPMS.In addition,ablation studies are performed by comparing the improved local search algorithms using Hist-Weighting and their variant algorithms,indicating the effectiveness of the mechanisms in Hist-Weighting,including restricting the upper and lower limits of dynamic weight increments and adapting dynamic weight increments.

MaxSAT problemlocal searchclause weighting techniquehistorical information

郑迥之、何琨

展开 >

华中科技大学计算机科学与技术学院 武汉 430074

最大可满足性问题 局部搜索 子句加权技术 历史信息

国家自然科学基金

U22B2017

2024

计算机学报
中国计算机学会 中国科学院计算技术研究所

计算机学报

CSTPCD北大核心
影响因子:3.18
ISSN:0254-4164
年,卷(期):2024.47(6)
  • 1