A Global Constraint for the Exact Cover Problem: Application to Conceptual Clustering

Abstract

We introduce the exactCover global constraint dedicated to the exact cover problem, the goal of which is to select subsets such that each element of a given set belongs to exactly one selected subset. This NP-complete problem occurs in many applications, and we more particularly focus on a conceptual clustering application. We introduce three propagation algorithms for exactCover, called Basic, DL, and DL+: Basic ensures the same level of consistency as arc consistency on a classical decomposition of exactCover into binary constraints, without using any specific data structure; DL ensures the same level of consistency as Basic but uses Dancing Links to efficiently maintain the relation between elements and subsets; and DL+ is a stronger propagator which exploits an extra property to filter more values than DL. We also consider the case where the number of selected subsets is constrained to be equal to a given integer variable k, and we show that this may be achieved either by combining exactCover with existing constraints, or by designing a specific propagator that integrates algorithms designed for the NValues constraint. These different propagators are experimentally evaluated on conceptual clustering problems, and they are compared with state-of-the-art declarative approaches. In particular, we show that our global constraint is competitive with recent ILP and CP models for mono-criterion problems, and it has better scale-up properties for multi-criteria problems.

Cite

Text

Chabert and Solnon. "A Global Constraint for the Exact Cover Problem: Application to Conceptual Clustering." Journal of Artificial Intelligence Research, 2020. doi:10.1613/JAIR.1.11870

Markdown

[Chabert and Solnon. "A Global Constraint for the Exact Cover Problem: Application to Conceptual Clustering." Journal of Artificial Intelligence Research, 2020.](https://mlanthology.org/jair/2020/chabert2020jair-global/) doi:10.1613/JAIR.1.11870

BibTeX

@article{chabert2020jair-global,
  title     = {{A Global Constraint for the Exact Cover Problem: Application to Conceptual Clustering}},
  author    = {Chabert, Maxime and Solnon, Christine},
  journal   = {Journal of Artificial Intelligence Research},
  year      = {2020},
  pages     = {509-547},
  doi       = {10.1613/JAIR.1.11870},
  volume    = {67},
  url       = {https://mlanthology.org/jair/2020/chabert2020jair-global/}
}