The increasing nvalue constraint

  • Authors:
  • Nicolas Beldiceanu;Fabien Hermenier;Xavier Lorca;Thierry Petit

  • Affiliations:
  • Mines-Nantes, LINA UMR CNRS 6241, Nantes, France;Mines-Nantes, LINA UMR CNRS 6241, Nantes, France;Mines-Nantes, LINA UMR CNRS 6241, Nantes, France;Mines-Nantes, LINA UMR CNRS 6241, Nantes, France

  • Venue:
  • CPAIOR'10 Proceedings of the 7th international conference on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper introduces the Increasing_Nvalue constraint, which restricts the number of distinct values assigned to a sequence of variables so that each variable in the sequence is less than or equal to its successor. This constraint is a specialization of the Nvalue constraint, motivated by symmetry breaking. Propagating the Nvalue constraint is known as an NP-hard problem. However, we show that the chain of non strict inequalities on the variables makes the problem polynomial. We propose an algorithm achieving generalized arc-consistency in O(ΣDi) time, where ΣDi is the sum of domain sizes. This algorithm is an improvement of filtering algorithms obtained by the automaton-based or the Slide-based reformulations. We evaluate our constraint on a resource allocation problem.