stian
--
Christian Schulte, www.ict.kth.se/~cschulte/
From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf
Of Max Ostrowski
Sent: Tuesday, August 14, 2012 9:34 AM
To: Guido Tack
Cc: users@gecode.org
Subject: Re: [gecode-users] Computing Variable Domains
OK, i see.
Thi
w do i create the intersection of both.
>>>> And finally how to set the domain of IntVar x to this range then.
>>>>
>>>>
>>>> I tried to grep the gecode code and the examples but was not able
>>>> to find any.
>>>>
>>>&
rry again for reposting this, i'm ashamed.
>>>
>>> Best,
>>> Max
>>>
>>>
>>>
>>>
>>>
>>> The best is to look for examples in the code ;-) Just grep for it.
>>>
>>> MinMax is nothing but a base-
directly. Look for the iterators that take arrays as input, they
>> will do what
>> you want.
>>
>> Best
>> Christian
>>
>> --
>> Christian Schulte, KTH, web.it.kth.se/~cschulte/
>> <http://web.it.kth.se/%7Ecschulte/
at
> you want.
>
> Best
> Christian
>
> --
> Christian Schulte, KTH, web.it.kth.se/~cschulte/
>
> -Original Message-----
> From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of
> Max Ostrowski
> Sent: Thursday, July 21, 2011 10
ay, July 21, 2011 10:49 AM
To: users@gecode.org
Subject: [gecode-users] Computing Variable Domains (Integer)
Hello everybody,
as variables in gecode need to have a domain, i want to compute the
domain of
the variables automatically, given the constraints.
I could als
/
-Original Message-
From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of
Max Ostrowski
Sent: Thursday, July 21, 2011 10:49 AM
To: users@gecode.org
Subject: [gecode-users] Computing Variable Domains (Integer)
Hello everybody,
as variables in gecode need to have a
Hello everybody,
as variables in gecode need to have a domain, i want to compute the domain of
the variables automatically, given the constraints.
I could also let the constraints restrict the domains of my variables, but as i
understood, this is similar to propagation and could take some time.