首页 | 本学科首页   官方微博 | 高级检索  
     

优化简单表缩减算法求解因子分解编码实例
引用本文:王震,李哲,李占山. 优化简单表缩减算法求解因子分解编码实例[J]. 软件学报, 2021, 32(11): 3530-3540
作者姓名:王震  李哲  李占山
作者单位:吉林大学计算机科学与技术学院,吉林长春 130012;符号计算与知识工程教育部重点实验室(吉林大学),吉林长春 130012
基金项目:国家自然科学基金(61802056);吉林省自然科学基金(20180101043JC);吉林省发展和改革委员会产业技术研究与开发项目(2019C053-9);中国科学院太空应用重点实验室开放基金(LSU-KFJJ-2019-08)
摘    要:表约束在约束程序(constraint programming,简称CP)中被广泛研究.目前,求解表约束问题效率最高的算法是CT (compact-table)和STRbit (simple tabular reduction bit).它们在搜索过程中维持广义弧相容(generalized arc consistency,简称GAC).完全成对相容(full pairwise consistency,简称fPWC)是一种强于GAC的相容性关系,目前,实现fPWC效率最高的算法是PW-CT,但是它无法直接在通用的求解器上实现.因子分解编码(factor-decomposition encoding,简称FDE)是实现fPWC的一种编码方式,通常和简单表缩减(STR)算法一起来使用.当前效率最高的STR算法使用了bitset的数据结构,用这些算法来求解FDE实例可能会造成内存溢出.提出了STRFDE算法——一种使用bitset结构来求解FDE实例的方法.它结合了CT和STRbit的优势,在保证求解效率的同时,使占用的内存尽可能小.实验结果表明,在许多存在非平凡相交的实例上,该算法是有竞争力的.

关 键 词:约束程序  孤相容  表约束  简单表缩减算法  因子分解编码
收稿时间:2020-01-04
修稿时间:2020-05-01

Optimizing Simple Tabular Reduction Algorithm for Factor-decomposition Encoding Instances
WANG Zhen,LI Zhe,LI Zhan-Shan. Optimizing Simple Tabular Reduction Algorithm for Factor-decomposition Encoding Instances[J]. Journal of Software, 2021, 32(11): 3530-3540
Authors:WANG Zhen  LI Zhe  LI Zhan-Shan
Affiliation:School of Computer Science and Technology, Jilin University, Changchun 130012, China;Key Laboratory of Symbolic Computation and Knowledge Engineering (Jilin University), Ministry of Education, Changchun 130012, China
Abstract:Table constraints are widely studied in constraint programming (CP). At present, the most efficient algorithms for solving table constraint problems are compact-table (CT) and simple tabular reduction bit (STRbit), which maintain generalized arc consistency (GAC) during the search process. Full pairwise consistency (fPWC) is a consistency that is stronger than GAC. The most efficient algorithm for maintaining fPWC is PW-CT which is difficult to implement in general solver. Factor-decomposition encoding (FDE) is an encoding method that implements fPWC and is usually used together with STR. The current STR algorithms that use bitset may cause memory overflow issues to solve FDE instances. This study proposes STRFDE, a new algorithm using bitset for solving FDE instances. It combines the advantages of CT and STRbit that makes the memory as little as possible while ensuring the efficiency of solving. Experimental results show that the proposed algorithm is competitive over a variety of instances with non-trivial intersections.
Keywords:constraint programming  arc consistency  table constraint  simple tabular reduction  factor-decomposition encoding
本文献已被 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号