旅行推销员

发布于 2024-09-28 04:24:24 字数 26 浏览 2 评论 0原文

在哪里可以找到旅行萨拉斯问题的源代码?

Where can I find source code for travelling salasman problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆光下的微笑 2024-10-05 04:24:24

无处可去,还没有解决。

nowhere, it's not been solved.

偷得浮生 2024-10-05 04:24:24

您曾提到超过 8 或 9 个节点时会遇到问题。这并不奇怪,因为随着每个添加的节点,复杂性呈指数级增加。

 alt text

因此,许多解决方案都涉及遗传编程,以逐渐形成好的答案。找到最佳通常需要对所有可能性进行强力检查。
此处就是一个示例,它还提供了其源代码。

You had mentioned that you were having problems with more than 8 or 9 nodes. This isn't surprising because the complexity increases exponentially with each added node.

alt text

As a result many solutions involve Genetic programming to gradually evolve a good answer. Finding the best generally requires a brute-force check of all possibilities.
One example is here, which also provides their source code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文