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

Thierry Petit


Many Constraint Programming models use integer cost variables aggregated in an objective criterion. In this context, some constraints involving exclusively cost variables are often imposed. Such constraints are complementary to the objective function. They characterize the solutions which are acceptable in practice. This paper deals with the case where the set of costs is a sequence, in which high values should be concentrated in a few number of areas. Representing such a property through a 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 integer 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 propose a complete filtering algorithm in O(n) time complexity.
Fichier principal
Vignette du fichier
unfair.pdf (449.29 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00753598 , version 1 (19-11-2012)



Thierry Petit. Focus: A Constraint for Concentrating High Costs. Principles and Practice of Constraint Programming CP2012, Oct 2012, Quebec city, Canada. pp.577-592, ⟨10.1007/978-3-642-33558-7_42⟩. ⟨hal-00753598⟩
144 View
165 Download



Gmail Facebook X LinkedIn More