Build a data structure that suits your needs and use IntVarArgs and IntArgs only when you need to post constraints (that's what they are good for): just copy the integer variables or integers from your data structure into variables of type IntVarArgs or IntArgs with proper dynamic size.
So, that's just a C++ question. Christian -- Christian Schulte, web.ict.kth.se/~cschulte/ From: [email protected] [mailto:[email protected]] On Behalf Of frank lemoine Sent: Wednesday, January 06, 2010 9:54 AM To: [email protected]; gecode gecode Subject: [gecode-users] IntvarArgs also fail hello, thanks javier i see the discussion and i understand that new can't be used on intargs and also intvarargs, but i'm still in trouble because i have to build dynamicly a data structure using Tupleset, so have some one an idea ? best regards. Frank _____ Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici ! <http://www.hotmailmagicmoment.com>
_______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users
