[algogeeks] Re: constraint programming

2011-07-29 Thread pschaus
I'm not familiar with Choco in particular but you are probably trying to post an element constraint. Make sure that the index variable has a domain inside the range of the array on which you apply the element (-1 should not be in the domain). On Jul 29, 1:24 am, hafsainfo haafsa...@gmail.com

[algogeeks] Re: constraint programming

2011-07-29 Thread hafsainfo
thank you On 29 juil, 06:32, pschaus psch...@gmail.com wrote: I'm not familiar with Choco in particular but you are probably trying to post an element constraint. Make sure that the index variable has a domain inside the range of the array on which you apply the element (-1 should not be in