当前位置:主页 > 科技论文 > 数学论文 >

基于子句权重求解SAT问题算法的研究

发布时间:2018-04-28 03:58

  本文选题:SAT问题 + CDCL算法 ; 参考:《西南交通大学》2017年硕士论文


【摘要】:SAT问题是判断命题逻辑公式可满足性,也是NP完全问题之首,在计算机科学和人工智能等领域有重要的理论和应用价值,成为了这些领域的一个热点研究问题。长期以来,人们对SAT问题的求解进行了深入研究,提出了很多求解SAT问题的算法,其中最流行的要数CDCL算法。基于CDCL算法,有许多的求解器被开发出来,如Chaff、zChaff、Minisat、Glucose、Lingeling等著名求解器。这些求解器都是通过对CDCL算法的变量决策、冲突分析、子句学习、回溯回退等主要部分进行不断地替换和调整而来。本文着重研究了 CDCL算法的决策过程,也对变量决策过程进行改进。在决策过程中考虑了子句长短不一的问题,采用优先满足短子句的思想,利用单子句的蕴含原理和满足较多的短子句方法,尽可能早的产生冲突或减少冲突的产生,提高算法求解SAT问题的效率。基于CDCL算法结构框架,对算法做了相应部分的替换,主要的研究工作如下:1.基于优先满足短子句的思想,依据子句固有的结构信息,满足较多的子句,尽可能减少一些冲突的产生,提高算法求解SAT问题的效率,首先以在子句集中出现频率较多且大多出现在短子句中的变量作为选择前提,结合子句的长度,给出变量在子句中的平均长度的概念及一些相关的性质;然后将变量在子句中的平均长度,与变量出现的次数相联系,设计变量权重的计算函数;最后提出一种初始变量决策策略。2.依据子句长度在决策过程中的影响,以短子句为出发点,为了能够发现较多的单子句,采用单子句的蕴含原理,尽可能早地发现冲突或避免一些冲突的产生,提高算法求解SAT问题的时间效率,首先以生成单子句为目的,结合子句的长度,构造子句权重的计算函数;然后提出一种新的分支变量选择策略。3.基于初始变量选择策略和分支变量选择策略形成两种新算法,在CDCL算法结构框架上分别做了一些相应部分的改进,集成VW-SAT求解器和CW-SAT求解器,并进一步通过2015年SAT竞赛中的竞赛例和SAT问题库测试例,验证了算法的有效性。
[Abstract]:SAT problem is not only the satisfiability of judging propositional logic formula, but also the head of NP complete problem. It has important theoretical and application value in computer science and artificial intelligence, and has become a hot research problem in these fields. For a long time, people have deeply studied the solution of SAT problem, and put forward many algorithms to solve SAT problem, among which the most popular one is CDCL algorithm. Based on the CDCL algorithm, many solvers have been developed, such as the famous solvers such as ChaffitzChaffa Minisatt Glucose Lingeling and so on. These solvers are used to replace and adjust the main parts of CDCL algorithm, such as variable decision, conflict analysis, clause learning, backtracking and so on. In this paper, the decision process of CDCL algorithm is studied, and the variable decision process is improved. In the decision-making process, the problem of different length of clause is considered, the idea of priority satisfying short clause is adopted, the principle of implication of single child sentence and the method of satisfying more short clauses are used to produce conflict or reduce conflict as early as possible. The efficiency of the algorithm for solving SAT problem is improved. Based on the CDCL algorithm framework, the corresponding part of the algorithm is replaced. The main research work is as follows: 1. Based on the idea of first satisfying the short clause and according to the inherent structure information of the clause, it can satisfy more clauses, reduce some conflicts as far as possible, and improve the efficiency of the algorithm to solve the SAT problem. Firstly, the concept of the average length of the variable in the clause and some related properties are given by taking the variable which appears frequently in the set of clauses and mostly in the short clause as the premise of selection, combined with the length of the clause. Then the average length of the variable in the clause is related to the number of times the variable appears, and the calculation function of the variable weight is designed. Finally, an initial variable decision strategy .2. is proposed. According to the influence of clause length in the decision-making process, taking the short clause as the starting point, in order to find more single sub-sentences and adopt the implication principle of single clause, we can find conflicts or avoid some conflicts as early as possible. In order to improve the time efficiency of the algorithm for solving the SAT problem, a new branch variable selection strategy, .3., is proposed, which combines the length of the clause with the length of the clause, and constructs the function of calculating the weight of the clause. Based on the initial variable selection strategy and the branch variable selection strategy, two new algorithms are formed, and some corresponding improvements are made on the framework of the CDCL algorithm, which integrates the VW-SAT solver and the CW-SAT solver. Furthermore, the effectiveness of the algorithm is verified by the competition examples in the 2015 SAT competition and the test examples of the SAT problem library.
【学位授予单位】:西南交通大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:O141

【相似文献】

相关期刊论文 前4条

1 徐云 ,陈国良 ,张国义;一种求解难SAT问题的改进DP算法[J];中国科学技术大学学报;2002年03期

2 宫凌;;外教英语教学与学生SAT备考的关联性分析[J];科技信息;2013年09期

3 张奎,陈大岳;可满足性(SAT)问题的概率研究[J];数学进展;2001年03期

4 ;[J];;年期

相关会议论文 前4条

1 熊伟;唐璞山;;一种新的SAT问题预处理算法[A];2007年全国开放式分布与并行计算机学术会议论文集(下册)[C];2007年

2 刘刚;;从美国SAT考试看我国高考管理与评价制度改革[A];探索与创新——《高校招生》杂志理论研究专辑[C];2009年

3 崔振玲;沙巍;黄晓辰;郑瑞娟;居金良;胡忠义;;SAT技术在快速检测痰液的结核分枝杆菌中的应用[A];2011年中国防痨协会全国学术会议论文集[C];2011年

4 项高友;黄志球;;基于SAT的语义Web服务发现[A];2008通信理论与技术新发展——第十三届全国青年通信学术会议论文集(下)[C];2008年

相关重要报纸文章 前5条

1 郭松坡;SAT下半年考试为什么比上半年难[N];文汇报;2013年

2 王东;SAT考试热蕴藏出版新卖点[N];中国图书商报;2007年

3 孙文婧;透视内地学生赴港考SAT[N];文汇报;2012年

4 孙蔚;SAT考点落户中国内地又何妨[N];中国消费者报;2012年

5 本报专稿 沐阳;无名武士——透视日本SAT特种警察突击队[N];世界报;2005年

相关博士学位论文 前1条

1 许有军;基于扩展规则的若干SAT问题研究[D];吉林大学;2011年

相关硕士学位论文 前3条

1 吴小瑞;基于子句权重求解SAT问题算法的研究[D];西南交通大学;2017年

2 赵松云;基于子句权重求解SAT问题[D];复旦大学;2008年

3 刘婉玉;美国SAT模式研究及其对我国基础教育评价的启示[D];广西师范大学;2005年



本文编号:1813667

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/yysx/1813667.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户48ad3***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com