Bimodal Depth-First Search for Scalable GAC for AllDifferent
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。DOI 10.24963/ijcai.2025/291 ↗
摘要
We propose a version of DFS designed for Constraint Programming, called bimodal DFS, that scales to both sparse and dense graphs. It runs in O(n + ~m) time, where ~m is the sum, for each vertex v, of the minimum between the numbers of successors and non-successors of v. Integrating it into Régin’s GAC algorithm for the AllDifferent constraint results in faster performance as the problem size increases, outperforming a GPU-accelerated version. In the vast majority of our tests, GAC now performs similarly to BC in terms of speed, but is able to solve more problems.