Focus: A Constraint for Concentrating High Costs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2012

Focus: A Constraint for Concentrating High Costs


Many Constraint Programming models use integer cost variables ag- gregated in an objective criterion. In this context, some constraints involving exclusively cost variables are often imposed. Such constraints are complemen- tary to the objective function. They characterize the solutions which are accept- able in practice. This paper deals with the case where the set of costs is a se- quence, in which high values should be concentrated in a few number of areas. Representing such a property through an search heuristic may be complex and overall not precise enough. To solve this issue, we introduce a new constraint, FOCUS(X,yc,len, k), where X is a sequence of n integer variables, yc an in- teger variable, and len and k are two integers. To satisfy FOCUS, the minimum number of distinct sub-sequences of consecutive variables in X, of length at most len and that involve exclusively values strictly greater than k, should be less than or equal to yc. We present two examples of problems involving FOCUS. We pro- pose a complete filtering algorithm in O(n) time complexity.
Fichier principal
Vignette du fichier
ssnoworkshop12_submission_1.pdf (234.54 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00753673 , version 1 (26-11-2012)


  • HAL Id : hal-00753673 , version 1


Thierry Petit. Focus: A Constraint for Concentrating High Costs. Proc. First International Workshop on Search Strategies and Non-standard Objectives, (CPAIOR-SSNOW'12), May 2012, Nantes, France, France. ⟨hal-00753673⟩
130 View
100 Download


Gmail Facebook X LinkedIn More