Travelling salesman variation in python

Günter Jantzen nc-jantzegu at netcologne.de
Fri Apr 2 16:09:55 EST 2004


"Jeff Epler" <jepler at unpythonic.net> schrieb im Newsbeitrag
news:mailman.248.1080852947.20120.python-list at python.org...
> Can't TSP be converted to your problem?
>
> If you have TSP with distance(Xi, Xj)=Dij, then convert it to your
> problem by letting distance(X'i, X'j)=distance(X'j, X'i)=-Dij.
> or if only positive weights are allowed then use max(D)-Dij.
>
> Jeff
>
Of course, Jeff you are right!

There is a lot of pointers at the ACM portal

http://portal.acm.org/results.cfm?coll=Portal&dl=Portal&CFID=19701367&CFTOKE
N=66344476

Günter





More information about the Python-list mailing list