• Home
  • Search
  • A Bitwise GAC Algorithm for Alldifferent Constraints
  • https://doi.org/10.24963/ijcai.2023/221Copy DOI Icon

A Bitwise GAC Algorithm for Alldifferent Constraints

  • Aug 1, 2023
  • Zhe Li +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

The generalized arc consistency (GAC) algorithm is the prevailing solution for alldifferent constraint problems. The core part of GAC for alldifferent constraints is excavating and enumerating all the strongly connected components (SCCs) of the graph model. This causes a large amount of complex data structures to maintain the node information, leading to a large overhead both in time and memory space. More critically, the complexity of the data structures further precludes the coordination of different optimization schemes for GAC. To solve this problem, the key observation of this paper is that the GAC algorithm only cares whether a node of the graph model is in an SCC or not, rather than which SCCs it belongs to. Based on this observation, we propose AllDiffbit, which employs bitwise data structures and operations to efficiently determine if a node is in an SCC. This greatly reduces the corresponding overhead, and enhances the ability to incorporate existing optimizations to work in a synergistic way. Our experiments show that AllDiffbit outperforms the state-of-the-art GAC algorithms over 60%.

Similar Papers
  • Conference Article

Eliminating the Computation of Strongly Connected Components in Generalized Arc Consistency Algorithm for AllDifferent Constraint

  • Aug 01, 2023
  • Luhan Zhen +3
  • Book Chapter
  • Citations12

Arc Consistency Revisited

  • Jan 01, 2019
  • Ruiwei Wang +1
  • Book Chapter

Extending Generalized Arc Consistency

  • Jan 01, 2012
  • Anastasia Paparrizou +1
  • Research Article
  • Citations20

STR3: A path-optimal filtering algorithm for table constraints

  • Dec 16, 2014
  • Artificial Intelligence
  • Christophe Lecoutre +2
  • Research Article
  • Citations9

An Efficient Higher-Order Consistency Algorithm for Table Constraints

  • Sep 20, 2021
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Anastasia Paparrizou +1
  • Research Article
  • Citations1

Strong local consistency algorithms for table constraints

  • Jan 30, 2015
  • Constraints
  • Anastasia Paparrizou +1
  • Research Article
  • Citations4

Saving constraint checks in maintaining coarse-grained generalized arc consistency

  • May 03, 2017
  • Neural Computing and Applications
  • Hongbo Li +2
  • Conference Article
  • Citations5

Bipartite Encoding: A New Binary Encoding for Solving Non-Binary CSPs

  • Jul 01, 2020
  • Ruiwei Wang +1
  • Research Article
  • Citations4

Encoding Multi-Valued Decision Diagram Constraints as Binary Constraint Trees

  • Jun 28, 2022
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Ruiwei Wang +1
  • Book Chapter
  • Citations36

A Path-Optimal GAC Algorithm for Table Constraints

  • Jan 01, 2012
  • Frontiers in artificial intelligence and applications
  • Lecoutre Christophe +2
  • Research Article
  • Citations83

STR2: optimized simple tabular reduction for table constraints

  • Mar 30, 2011
  • Constraints
  • Christophe Lecoutre
  • Research Article
  • Citations17

Extending STR to a Higher-Order Consistency

  • Jun 30, 2013
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Christophe Lecoutre +2
  • Conference Article
  • Citations9

A Fast Algorithm for Generalized Arc Consistency of the Alldifferent Constraint

  • Jul 01, 2018
  • Xizhe Zhang +2
  • Book Chapter
  • Citations60

Generalized Arc Consistency for Positive Table Constraints

  • Jan 01, 2006
  • Christophe Lecoutre +1
  • Research Article
  • Citations18

Extending Compact-Table to Negative and Short Tables

  • Feb 12, 2017
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Hélène Verhaeghe +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.