计算机科学 ›› 2026, Vol. 53 ›› Issue (3): 366-374.doi: 10.11896/jsjkx.241200211

• 人工智能 • 上一篇    下一篇

优化概率选择求解SAT问题

贾书恒1, 付慧敏1,2   

  1. 1 西南财经大学计算机与人工智能学院 成都 611130
    2 西南财经大学智能金融教育部工程研究中心 成都 611130
  • 收稿日期:2024-12-30 修回日期:2025-04-01 发布日期:2026-03-12
  • 通讯作者: 付慧敏(fuhuimin@swufe.edu.cn)
  • 作者简介:(Suqin76067@qq.com)
  • 基金资助:
    国家自然科学基金(62206227,61976130)

Optimizing Probabilistic Choice for Solving SAT Problems

JIA Shuheng1, FU Huimin1,2   

  1. 1 School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics, Chengdu 611130, China
    2 Engineering Research Center of Intelligent Finance, Ministry of Education, Southwestern University of Finance and Economics, Chengdu 611130, China
  • Received:2024-12-30 Revised:2025-04-01 Online:2026-03-12
  • About author:JIA Shuheng,born in 2000,postgra-duate.His main research interest is local search algorithms for solving SAT problems.
    FU Huimin,born in 1991,Ph.D,master supervisor.Her main research interests include combinatorial optimization,constraint solving and automated reaso-ning.
  • Supported by:
    National Natural Science Foundation of China(62206227,61976130).

摘要: 在SAT问题的随机局部搜索算法中,主流变量决策策略基于概率选择变量,如probSAT求解器通过计算变量的break值确定选择概率。然而,该方法易陷入局部最优,尤其在应用类问题中表现不佳。为此,提出了一种结合配置检测策略的变量决策方法,动态调整变量选择概率函数。当环境不变时,优先选择break值较低的变量,增强全局优化能力。针对长子句的高扫描开销问题,引入重要邻居数组策略,将高活跃度变量纳入数组,降低计算复杂度。同时,设计了重启机制,利用probSAT在初期快速降低不可满足子句数量的优势,避免后期全局重复翻转现象,提升求解效率。改进后的probSAT_PCCR求解器在长期未解决的数学应用问题测试中表现显著提升,比原始probSAT多解决了142个案例,性能提升546.1%。在美国联邦通信委员会(FCC)的实际应用问题测试中,多解决了1 596个案例,性能提升33.5%。结果表明,通过多种策略改进的 probSAT 求解器在解决 SAT 问题的应用类问题上性能大幅提升,具有重要应用价值。

关键词: 配置检测, 重要邻居数组, 可满足性问题, SAT求解器, 变量决策策略

Abstract: In stochastic local search algorithms for SAT problems,mainstream variable decision strategies rely on probabilistic variable selection,such as the probSAT solver,which determines selection probabilities by calculating the break value of vari-ables.However,this approach is prone to falling into local optima,particularly underperforming in application-oriented problems.To address this,a variable decision method incorporating a configuration detection strategy is proposed,dynamically adjusting the variable selection probability function.When the environment remains unchanged,variables with lower break values are prioritized,enhancing global optimization capabilities.To tackle the high scanning overhead of long clauses,an important neighbor array strategy is introduced,incorporating highly active variables into the array to reduce computational complexity.Additionally,a restart mechanism is designed to leverage the advantage of probSAT in rapidly reducing the number of unsatisfied clauses during the initial phase,avoiding the global repeated flipping phenomenon in later stages,thereby improving solving efficiency.The improved probSAT_PCCR solver demonstrates significant performance enhancements in long-unsolved mathematical application problem tests,solving 142 more cases than the original probSAT,with a performance improvement of 546.1%.In practical application problem tests conducted by the FCC,it solves 1 596 more cases,with a performance improvement of 33.5%.In summary,the enhanced probSAT solver,through multiple strategic improvements,achieves substantial performance gains in solving application-oriented SAT problems,demonstrating significant application value.

Key words: Configuration detection, Important neighbor array, Satisfiability problem, SAT solver, Variable decision strategy

中图分类号: 

  • TP181
[1]COOK S A.The Complexity of Theorem-proving Procedures[C]//Proceedings of the ACM Symposium on Theory of Computing.1971:151-158.
[2]DARWICHE A.New advances inCompiling CNF into Decomposable Negation Normal Form[C]//Proceedings of the Eureopean Conference on Artificial Intelligence.2004:328-332.
[3]CHANG W J,XU Y.A Dynamic Decision-Making StrategyBased on Identifying Redundant Paths[J].Journal of Computer Science and Technology,2019,42(10):2309-2322.
[4]XU L,YU J P.Improved Bounded Model Checking on Verification of Valid ACTL Properties[J].Computer Science,2013,40(6A):99-102.
[5]KOCHEMAZOV S,ZAIKIN O,KONDRATIEV V,et al.MapleLCMDistChronoBT-DL,Duplicate Learnts Heuristic-Aided Solvers at the SAT Race 2019[EB/OL].https://helda.helsinki.fi/bitstream/handle/10138/306988/sr2019_proceedings.pdf?sequence=1&isAllowed=y.
[6]BRAUNSTEIN A,MÉZARD M,ZECCHINA R.et al.Survey propagation:an Algorithm for Satisfiability,Random Struct[C]//Algorithms.2005:201-226.
[7]CAI S W,SU K.Comprehensive score:Towards Efficient Local search for SAT with Long Clauses[C]//Proceedings of IJCAI 2013.2013:489-495.
[8]SELMA B,KAUTZ H A,COHEN B.Noise Strategies for Improving Local Search[C]//Proceedings of the 12th National Conference on Artificial Intelligence.AAAI,1994:337-343.
[9]BALINT A,FROHLICH A.Improving Stochastic Local Search for Sat with A New Probability Distribution[C]//Proceedings of the 13th International Conference on Theory and Applications of Satisfiability Testing.Springer,2010:10-15.
[10]LUO C,CAI S W,SU K.FocusedRandom Walk with Configuration Checking and Break Minimum for Satisfiability[C]//Proceedings of the International Conference on Principles and Practice of Constraint Programming.Springer,2013:481-496.
[11]CAI S W,LUO C.Improving WalkSAT forRandom k-satisfiability Problem with K > 3[C]//Proceedings of the 27th AAAI Conference on Artificial Intelligence.AAAI,2013:145-151.
[12]HUTTER F,TOMPKINS D A D,HOOS H H.Scaling andProbabilistic Smoothing:Efficient Dynamic Local Search for SAT[C]//Proceedings of Principles and Practice of Constraint Programming-CP 2002.2002:233-248.
[13]BIERE A.Splatz,Lingeling,Plingeling,Treeneling,YalSAT Entering the SAT Competition 2016[C]//Proceedings of the 19th International Conference on Theory and Applications of Satisfiability Testing(SAT 2016):Solver and Benchmark Descriptions.2016:44-45.
[14]FU H M,LIU J,WU G,et al.Improving Probability Selection Based Weights for Satisfiability Problems[J],Knowledge-Based Systems,2022,245:108572.
[15]CAI S W,SU K.Configuration Checking with Aspiration in Local Search for SAT[C]//Proceedings of the 26th AAAI Confe-rence on Artificial Intelligence.AAAI,2012:434-440.
[16]CAI S W,LUO C,SU K.Local Search for Boolean Satisfiability with Configuration Checking and Subscore[J].Artificial Intelligence,2013,204:75-98.
[17]LUO C,CAI S W,WU W,et al.Double Configuration Checking in Stochastic Local Search for Satisfiability[C]//Proceedings of the 28th National Conference on Artificial Intelligence.AAAI,2014:2703-2709.
[18]CHANG W J.Study of Satisfiability Solving Systems and Application Based on Contradiction Separation-Based Multiple Dynamic Automated Deduction[D].Chengdu:Southwest Jiaotong University,2019.
[19]WANG G J.Introduction to Mathematical Logic and Resolution Principle[M].Beijing:Science Press,2003.
[20]BALYO T.Modelling and Solving Problems Using SAT Techniques[D].Charles University in Prague,2014.
[21]BALINT A.Engineering Stochastic Local Search for the Satisfiability Problem[D].University Ulm,2014.
[22]BALINT A,FROHLICH A.Improving Stochastic Local Search for SAT with A New Probability Distribution[C]//Proceedings of the 13th International Conference on the Theory and Applications of Satisfiability Testing(SAT 2010).2010:10-15.
[23]KNUTH D E.The Art of Computer Programming,Volume 1:Fundamental Algorithms[M]//Boston:Addison-Wesley,1997:100-150.
[24]LUO C,HOOS H,CAI S.PbO-CCSAT:Boosting Local Search for Satisfiability Using Programming by Optimisation[C]//Proceedings of 16th International Conference.2020:373-389.
[25]BALINT A,MANTHEY N.DIMETHEUS.Dimetheus:solverdescription[C]//Proceedings of the 19th International Confe-rence on Theory and Applications of Satisfiability Testing.2016:37-38.
[26]LUO C,CAI S W,SU K,et al.Clause states based configuration checking in local search for satisfiability[J].IEEE Transactions on Cybernetics,2015,45(5):1028-1041.
[27]LUO C,CAI S W,WU W,et al.CSCCSat:solver description[C]//Proceedings of the 19th International Conference on Theory and Applications of Satisfiability Testing(SAT 2016).2016:10-11.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!