TSP - Branch and bound

前端 未结 3 558
野性不改
野性不改 2020-12-06 18:32

I\'m trying to solve the TSP with Branch and bound algorithm.

I must build a matrix with costs but I have this problem: I have city with coordinates x and y.

相关标签:
3条回答
  • 2020-12-06 19:12

    Step by step explanation of branch and bound method:

    • video: https://www.youtube.com/watch?v=RR7GXoWiUw4
    • book: https://archive.org/details/algorithmfortrav00litt (link to download in pdf)
    • implementation (C++): https://github.com/karepker/little-tsp

    I hope my answer will be useful for somebody.

    0 讨论(0)
  • 2020-12-06 19:14

    Here you go: http://lcm.csa.iisc.ernet.in/dsa/node187.html - it seems to explain fairly well how this should be approached.

    Archive.org link

    0 讨论(0)
  • 2020-12-06 19:24

    This PDF document gives a more detailed explanation of the Branch and Bound implementation for the Traveling Salesperson Problem:

    Part 1: A solution with nodes containing partial tours with constraints http://www.jot.fm/issues/issue_2003_03/column7.pdf

    Part 2 PDF can also be found. http://www.jot.fm/issues/issue_2003_05/column7/

    0 讨论(0)
提交回复
热议问题