Hello everybody,

i want to set the domain of an uninitialized IntVar to,
for example [1-7, 5-14, 23-42].

I found in the documentation that i can use a set to initialize the domain of 
the variable, but i do not want to explicitly enumerate the set.
(the ranges could be large).
So is there a possibility to compute the union of several ranges(implicitly) 
and use it for the domain of a variable?


PS: I found an AddRange iterator but am not sure how to use it.

Best,
Max
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to