[gecode-users] IntvarArgs also fail

Christian Schulte cschulte at kth.se
Wed Jan 6 11:33:05 CET 2010


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: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of frank lemoine
Sent: Wednesday, January 06, 2010 9:54 AM
To: javimena at gmail.com; 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> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20100106/4f48b6f6/attachment.htm>


More information about the users mailing list