Journal of Frontiers of Computer Science and Technology ›› 2014, Vol. 8 ›› Issue (11): 1314-1323.DOI: 10.3778/j.issn.1673-9418.1405030

Previous Articles     Next Articles

Variable Elimination Resolution Algorithm Based on Dynamic Constraint of Literal Size

DENG Xiaoyao1,2, FENG Zhiyong1,2, RAO Guozheng1,2+, WANG Xin1,2   

  1. 1. School of Computer Science and Technology, Tianjin University, Tianjin 300072, China
    2. Tianjin Key Laboratory of Cognitive Computing and Application, Tianjin 300072, China
  • Online:2014-11-01 Published:2014-11-04

基于子句文字长度动态约束的变量消除算法

DENG Xiaoyao1,2, FENG Zhiyong1,2, RAO Guozheng1,2+, WANG Xin1,2   

  1. 1. 天津大学 计算机科学与技术学院,天津 300072
    2. 天津市认知计算与应用重点实验室,天津 300072

Abstract: As an important preprocessing algorithm, variable elimination algorithm has been applied to a variety of preprocessors. By comparing and studying variable elimination resolution algorithm’ influence of the preprocessing and solving process under different constraint conditions, this paper proposes a variable elimination resolution algorithm based on dynamic constraint of literal size. This algorithm only allows performing variable elimination replacement operation when the length of clauses after resolved is less than that of original one. Depending on that, this paper achieves a preprocessor based on MiniSat open source for satisfiability problems—MiniSat BFS. Finally, the experimental results show that, compared with the existing algorithm, the improved algorithm not only reduces the number of clauses, variables and characters, but also shortens the runtime of preprocessor and solver for industrial instances. It is worth mentioning that new algorithm can solve more instances within limited time.

Key words: satisfiability problem, variable elimination resolution, MiniSat

摘要: 变量消除算法作为一种重要的预处理算法已经应用于多种预处理器中。对比研究了在不同约束条件下,变量消除算法对简化性能和求解性能的影响,提出了基于子句文字长度动态约束的变量消除算法。该算法只允许当变量分解后的子句文字长度比原有子句文字少时,执行变量消除替换操作。在此基础上实现了一个基于MiniSat开源代码的可满足性问题预处理器MiniSat BFS。实验结果表明,与现有的基于子句数目约束的算法相比,新算法不仅降低了子句、变量和文字的数目,而且缩短了预处理过程和求解过程的时间消耗。更重要的是,改进后的算法在限定时间内可以求解更多的可满足性问题。

关键词: 可满足性问题, 变量分解消除, MiniSat