计算机与现代化

• 软件工程 • 上一篇    下一篇

基于变量决策层的启发式变量选择策略

  

  1. (西南交通大学数学学院,四川成都611756)
  • 收稿日期:2019-01-04 出版日期:2019-07-05 发布日期:2019-07-08
  • 作者简介:刘姚(1992-),女,河南洛阳人,硕士研究生,研究方向:智能信息处理,E-mail: yaoliu1213@163.com; 宋振明(1960-),男,四川成都人,教授,博士,研究方向:智能信息处理,E-mail: zhmsong@home.swjtu.edu.cn。
  • 基金资助:
    国家自然科学基金资助项目(61673320); 中央高校基本科研业务费专项资金资助项目(2682018ZT10)

Heuristic Variable Selection Strategy Based on Variable Decision Level

  1. (School of Mathematics, Southwest Jiaotong University, Chengdu 611756, China)
  • Received:2019-01-04 Online:2019-07-05 Published:2019-07-08

摘要: 启发式分支策略是SAT求解器中不可或缺的一部分,直接影响求解器的效率。早期的启发式分支决策需要遍历整个子句数据库,效率比较低。随着独立变量状态衰减和(Variable State Independent Decaying Sum, VSIDS)分支策略的出现,SAT求解器的效率有所提高,但VSIDS策略以及它的延伸策略中变量的增量都只是与变量的冲突次数有关,没有考虑变量的决策层在分支策略中的影响。因此当发生冲突时,如果与冲突有关的变量的得分相同而决策层不同时,对于变量的选择就具有随机性。基于此,本文在阐述变量的决策层的重要性之后在VSIDS策略的基础上,提出一种基于变量决策层的启发式变量选择策略——HSVDL策略。然后通过实例显示HSVDL策略在变量决策阶段选择决策层低的变量的可能性比选择决策层高的变量的可能性要大,而且得分比较小,减少了内存的占用。最后通过实验表明HSVDL策略能够求解出更多的实例,求解器的效率也有所提高,说明该策略有一定的优势。

关键词: 启发式分支策略, SAT求解器, VSIDS策略, HSVDL策略, 变量决策

Abstract: The heuristic branch strategy is an integral part of the SAT solver and directly affects the efficiency of the solver. Early heuristic branch decisions require traversal of the entire clause database, which is inefficient. With the emergence of variable state independent decaying sum (VSIDS) branch strategy, the efficiency of the SAT solver is improved, but the increments of the variables in the VSIDS strategy and its extended strategy are only related to the number of conflicts with the variable, and do not consider the influence of the decision layer of the variable in the branching strategy. Therefore, when a conflict occurs, if the scores of the variables related to the conflict are the identical but the decision levels are different, the choice of variables is random. Based on this, after expounding the importance of the decision level of variables, based on the VSIDS strategy, a heuristic variable selection strategy named HSVDL strategy based on variable decision level is proposed. Then the example shows that the HSVDL strategy is more likely to choose the variable with lower decision-making level than the variable with higher decision-making level in the variable decision-making stage, and the score is smaller, which reduces the memory occupation. Finally, experiments show that the HSVDL strategy can solve more examples, and the efficiency of the solver is also improved, indicating that the strategy has certain advantages.

Key words: heuristic branch strategy, SAT solver, VSIDS strategy, HSVDL strategy, variable decision

中图分类号: