[gecode-users] how to convert a choco constraint to gecode constraint

manel askri askri.manel1 at gmail.com
Wed Jul 3 23:59:42 CEST 2013

hi !

i have to convert a constraint which was written with choco solvor , choco
works with java , so i have this line code which didn't undrestand how to
code it with gecode

the code line is :

sumConstraints.add(Choco.eq(somme, Choco.sum(rowArray)));

sumConstraints: is an array list of Constaints
somme :is an IntegerVariable
rowArray : is IntVarArgs

i did read the MPG but i didnt find some thing like that

could any one help me please

thanks very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20130703/111683a3/attachment.html>

More information about the users mailing list