[gecode-users] TSP example

Jonathan Skovhus Andersen jonathanskovhus at gmail.com
Sun Apr 10 09:42:25 CEST 2011


*Hi,*

I don't understand what this snippet of code from the TSP example does - can
anyone explain?

*// Just assume that the circle starts forwards*
*    {*
*      IntVar p0(*this, 0, n-1);*
*      element(*this, succ, p0, 0);*
*      rel(*this, p0, IRT_LE, succ[0]);*
*    }*
*
*
It doesn't seem to affect my results if I remove it.

*Regards,*
*Jonathan Skovhus Andersen.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20110410/3744293d/attachment.htm>


More information about the users mailing list