Re: [gecode-users] Computing Variable Domains

2012-08-14 Thread Christian Schulte
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

Re: [gecode-users] Computing Variable Domains

2012-08-14 Thread Max Ostrowski
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. >>>> >>>&

Re: [gecode-users] Computing Variable Domains

2012-08-13 Thread Guido Tack
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-

Re: [gecode-users] Computing Variable Domains

2012-08-13 Thread Max Ostrowski
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/

Re: [gecode-users] Computing Variable Domains

2012-08-09 Thread Guido Tack
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

[gecode-users] Computing Variable Domains

2012-08-08 Thread Max Ostrowski
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

Re: [gecode-users] Computing Variable Domains (Integer)

2011-07-21 Thread Christian Schulte
/ -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

[gecode-users] Computing Variable Domains (Integer)

2011-07-21 Thread Max Ostrowski
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.