Algorithm: shortest path between all points

后端 未结 4 770
小鲜肉
小鲜肉 2021-01-04 07:06

Suppose I have 10 points. I know the distance between each point.

I need to find the shortest possible route passing through all points.

I have tried a coup

4条回答
  •  既然无缘
    2021-01-04 07:43

    As others have mentioned, this is an instance of the TSP. I think Concord, developed at Georgia Tech is the current state-of-the-art solver. It can handle upwards of 10,000 points within a few seconds. It also has an API that's easy to work with.

提交回复
热议问题