摘要:这个是作业。。。。写得有点水。#/usr/bin/env python
# Use branch and bound to solve TSP
# by wander@xjtu copyleft
#
# no negative edge, -1 stands for infty
# 8 city
# A B C D E F G H
INFTY=10000
weight=((0, 2, -1, -...
阅读全文
posted @ 2010-01-31 22:46