基于SAT的图着色新算法,性能超越现有主流方法。
A Customized SAT-based Solver for Graph Coloring
- 利用Zykov树编码与传播器处理传递性约束。
- 在DIMACS和随机图上均显著优于现有方法。
- 适合需要高效求解图着色的算法研究者与工程师。
我们提出ZykovColor,一种基于SAT的图着色算法,其编码方式模拟Zykov树结构。该方法借鉴Hébrard与Katsirelos(2020)的工作,引入传播器以强制传递性约束,结合下界剪枝与推断传播。通过CaDiCaL的IPASIR-UP接口实现上述技术,并新增多项特性:利用顶点支配提示优化决策策略,采用增量式自底向上搜索复用学习过的子句;改进团计算以提升下界精度,集成分数染色数计算方法增强剪枝效果。实验验证各项改进的有效性,ZykovColor在DIMACS基准集上优于其他先进实现;在随机Erdős-Rényi图上,无论稀疏或密集情形,均达到或超过当前最优的SAT基方法。此外,还提供一个更优配置,在该类图上全面领先现有方法。
原文摘要 · Abstract (English)
We introduce ZykovColor, a novel SAT-based algorithm to solve the graph coloring problem working on top of an encoding that mimics the Zykov tree. Our method is based on an approach of Hébrard and Katsirelos (2020) that employs a propagator to enforce transitivity constraints, incorporate lower bounds for search tree pruning, and enable inferred propagations. We leverage the recently introduced IPASIR-UP interface for CaDiCaL to implement these techniques with a SAT solver. Furthermore, we propose new features that take advantage of the underlying SAT solver. These include modifying the integrated decision strategy with vertex domination hints and using incremental bottom-up search that allows to reuse learned clauses from previous calls. Additionally, we integrate a more effective clique computation and an algorithm for computing the fractional chromatic number to improve the lower bounds used for pruning during the search. We validate the effectiveness of each new feature through an experimental analysis. ZykovColor outperforms other state-of-the-art graph coloring implementations on the DIMACS benchmark set. Further experiments on random Erdős-Rényi graphs show that our new approach matches or outperforms state-of-the-art SAT-based methods for both very sparse and highly dense graphs. We give an additional configuration of ZykovColor that dominates other SAT-based methods on the Erdős-Rényi graphs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。