Content deleted Content added
added short description Tags: Mobile edit Mobile app edit iOS app edit |
CoderThomasB (talk | contribs) m →Global constraints: Fix spelling (iff -> if) |
||
Line 33:
== Global constraints ==
Global constraints<ref>{{Cite book|title=Handbook of constraint programming|last1=Rossi|first1=Francesca|last2=Van Beek|first2=Peter|last3=Walsh|first3=Toby|date=2006|publisher=Elsevier|isbn=9780080463643|edition=1st|___location=Amsterdam|chapter=7|oclc=162587579}}</ref> are constraints representing a specific relation on a number of variables, taken altogether. Some of them, such as the [https://sofdem.github.io/gccat/gccat/Calldifferent.html <code>alldifferent</code>] constraint, can be rewritten as a conjunction of atomic constraints in a simpler language: the <code>alldifferent</code> constraint holds on ''n'' variables <math>x_1... x_n</math>, and is satisfied
Global constraints are used<ref>{{Cite book|title=Principles and Practice of Constraint Programming CP 2003 00 : 9th International Conference, CP 2003, Kinsale, Ireland, September 29 October 3, 2003. Proceedings|date=2003|publisher=Springer-Verlag Berlin Heidelberg|last=Rossi|first=Francesca|isbn=9783540451938|___location=Berlin|oclc=771185146}}</ref> to simplify the modeling of [[constraint satisfaction problems]], to extend the expressivity of constraint languages, and also to improve the [[Constraint programming|constraint resolution]]: indeed, by considering the variables altogether, infeasible situations can be seen earlier in the solving process. Many of the global constraints are referenced into an [https://sofdem.github.io/gccat/ online catalog.]
|