[ library(fd_global) | Reference Manual | Alphabetic Index ]
The sum of the list elements is Sum
- List of integers or domain variables
- Variable or integer
The sum of the list elements is Sum. This constraint is
more efficient than the general arithmetic constraint if
the list is long and Sum is not constrained frequently.
Any input variables which do not already have finite bounds will
be given default bounds of -10000000 to 10000000.
ordered / 2, ordered_sum / 2, suspend : #= / 2, ic : #= / 2, gfd : #= / 2, fd : #= / 2