[gecode-users] interval domains at run time
Chd Orti
richard.portell at gmail.com
Thu Sep 11 15:40:23 CEST 2014
Dear all,
I have the following problem:
Array of 100 numbers with sum = 500;
At run time, the user can decide in how many intervals he cuts the 100
numbers. Lets say 4 for the example.
For all the parts, he can give a domain for example :
>From 0 to 24 -> the integers can only take values 0 or 1
>From 25 to 49 -> the integers can only take values 5, 6 or 1,
etc ...
I can't find a good way to restrict the domain by intervals, I guess I am
missing something here ...
Thanks for your help,
Best regards,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140911/26716016/attachment.html>
More information about the users
mailing list