Re: [gecode-users] element constraint

2009-11-07 Thread Guido Tack
scribe an edge i hope this expression will be more explicit. Hamza From: t...@ps.uni-sb.de Date: Thu, 5 Nov 2009 11:52:22 +0100 CC: us...@gecode.org To: benoun...@live.fr Subject: Re: [gecode-users] element constraint Hi, frank lemoine wrote: thank you christian for tips about the element constr

[gecode-users] element constraint

2009-11-04 Thread frank lemoine
hi gecode users, thank you christian for tips about the element constraint i run it, it's a very usefull but still i had some difficulties i don't know if gecode provide a solution for representing two intvar by a single intvar. let this constaint element (home, a,b,c) i have two in

Re: [gecode-users] element constraint

2009-10-30 Thread Christian Schulte
elements which are {7,4,9,11}. ;-) Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of frank lemoine Sent: Friday, October 30, 2009 4:48 PM To: gecode gecode Subject: [gecode-users] element constraint hi

[gecode-users] element constraint

2009-10-30 Thread frank lemoine
hi every one, i just begin in gecode, i use the element constraint for matching two sets, i read carefully "modeling with gecode" and i run this command: IntArgs cf(4,13,4,25,16,29,8); for(int i=0;i<7;i++) { element(*this, cf, xb[i], yb[i]); } xb and yb are IntVarArray (*this,8