Search: onr:"swepub:oai:DiVA.org:ri-24472" >
A Modelling Pearl w...
A Modelling Pearl with Sortedness Constraints
-
- Beldiceanu, Nicolas (author)
- École des Mines de Nantes, France
-
- Carlsson, Mats (author)
- RISE,Computer Systems Laboratory
-
- Flener, Pierre (author)
- Uppsala University, Sweden
-
show more...
-
- Lorca, Xavier (author)
- École des Mines de Nantes, France
-
- Pearson, Justin (author)
- Uppsala University, Sweden
-
- Petit, Thierry (author)
- École des Mines de Nantes, France; Worcester Polytechnic Institute, US
-
- Prud'homme, Charles (author)
- École des Mines de Nantes, France
-
show less...
-
(creator_code:org_t)
- 9
- EasyChair, 2015
- 2015
- English.
-
In: GCAI 2015. Global Conference on Artificial Intelligence. - : EasyChair. ; , s. 27-41
- Related links:
-
https://easychair.or...
-
show more...
-
https://ri.diva-port... (primary) (Raw object)
-
https://easychair.or...
-
https://urn.kb.se/re...
-
https://doi.org/10.2...
-
show less...
Abstract
Subject headings
Close
- Some constraint programming solvers and constraint modelling languages feature the Sort(L,P,S) constraint, which holds if S is a nondecreasing rearrangement of the list L, the permutation being made explicit by the optional list P. However, such sortedness constraints do not seem to be used much in practice. We argue that reasons for this neglect are that it is impossible to require the underlying sort to be stable, so that Sort cannot be guaranteed to be a total-function constraint, and that L cannot contain tuples of variables, some of which form the key for the sort. To overcome these limitations, we introduce the StableKeysort constraint, decompose it using existing constraints, and propose a propagator. This new constraint enables a powerful modelling idiom, which we illustrate by elegant and scalable models of two problems that are otherwise hard to encode as constraint programs.
Subject headings
- NATURVETENSKAP -- Data- och informationsvetenskap (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences (hsv//eng)
Keyword
- constraint decomposition
- Constraint Modelling
- Constraint Programming
- constraint propagator
- sortedness constraints
- stable sort
Publication and Content Type
- ref (subject category)
- kon (subject category)
To the university's database