Improved algorithm for the soft global cardinality constraint

  • Authors:
  • Alessandro Zanarini;Michela Milano;Gilles Pesant

  • Affiliations:
  • Département de génie informatique, École Polytechnique de Montréal, Montreal, Canada;D.E.I.S., Universitá di Bologna, Bologna, Italy;Département de génie informatique, École Polytechnique de Montréal, Montreal, Canada

  • Venue:
  • CPAIOR'06 Proceedings of the Third international conference on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose two algorithms achieving generalized arc consistency for the soft global cardinality constraint with variable-based violation and with value-based violation. They are based on graph theory and their complexity is $O(\sqrt{n}m)$ where n is the number of variables and m is the sum of the cardinalities of the domains. They improve previous algorithms that ran respectively in O(n(m+nlog n)) and O((n+k)(m+nlog n)) where k is the cardinality of the union of the domains.