登录
首页 » matlab » 遗传算法求解多旅行商问题

遗传算法求解多旅行商问题

于 2020-06-17 发布 文件大小:215KB
0 215
下载积分: 1 下载次数: 0

代码说明:

  旅行商问题(TravelingSalesmanProblem,TSP)是一个经典的组合优化问题。经典的TSP可以描述为:一个商品推销员要去若干个城市推销商品,该推销员从一个城市出发,需要经过所有城市后,回到出发地。应如何选择行进路线,以使总的行程最短。从图论的角度来看,该问题实质是在一个带权完全无向图中,找一个权值最小的Hamilton回路。由于该问题的可行解是所有顶点的全排列,随着顶点数的增加,会产生组合爆炸,它是一个NP完全问题。(Traveling Salesman Problem (TSP) is a classic combinatorial optimization problem. The classic TSP can be described as: a merchandiser sells goods to several cities. The salesman starts from a city and needs to go through all the cities and return to the starting point. How to choose the route of travel so that the total journey is the shortest. From the point of view of graph theory, the essence of the problem is to find a Hamilton loop with the smallest weight in a completely undirected graph with weights. Since the feasible solution to this problem is the full permutation of all vertices, as the number of vertices increases, a combinatorial explosion occurs, which is an NP-complete problem.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Common
    说明:  Builder design pattern implementation
    2020-06-24 19:00:01下载
    积分:1
  • AT89C2051俄罗斯方块游戏程序源代码 VGA输出
    资源描述 使用AT89C2051 24M晶振玩俄罗斯方块游戏而且还是VGA输出接电脑显示。这个好多都不敢相信。但是这个 是完全 可以的。 源代码 HEX文件 PCB文件 全套都有。
    2022-04-23 13:13:40下载
    积分:1
  • 未来之战修改脚本
    漫威未来之战脚本源码,修改器,脚本,支持全部英雄修改,能量,力量,能量防御,力量防御修改.未来之战英雄属性修改脚本. 附所有英雄ID对照表.(mobirum, ganeguardian,ggScript)
    2021-04-15 00:18:55下载
    积分:1
  • 数据采集实验中的一个作业 led
    数据采集实验中的一个作业,简单的流水灯循环及其实现,基于LabWindows CVI平台,可实现颜色调整和时间间隔选择。(A job in data acquisition experiment, a simple water lamp cycle and its implementation. Based on LabWindows CVI platform, color adjustment and time interval selection can be realized.)
    2017-12-12 15:30:53下载
    积分:1
  • AHP+TOPSIS
    层次分析法和逼近理想法结合从而选取最优网络(Analytic Hierarchy Process and Approximation Ideal Method to Select Optimal Network)
    2021-01-14 20:08:46下载
    积分:1
  • chlib
    在cadence virtuoso schematic 自动替换已有的cell到不同的lib(In the cadence virtuoso schematic automatically replace the existing cell to a different lib)
    2009-12-22 10:17:31下载
    积分:1
  • huang
    可以与ABAQUS接口联合,从微观角度模拟晶体的各种行为(It can be combined with ABAQUS interface to simulate various behaviors of crystals from a microscopic point of view.)
    2019-04-22 09:32:29下载
    积分:1
  • HoughLines
    说明:  平台基于visual studio 2015,使用opencv实现霍夫变换检测直线(Implementing Hough Transform)
    2020-06-20 05:20:02下载
    积分:1
  • C# Ping命令窗口仿真
    C# Ping命令窗口仿真,用C#与Windows相关编程知识,模拟仿真出Windows系统中的ping命令,界面和功能几乎是一样的,直接运行生成的exe文件,即可看到CMD Ping命令窗口。
    2022-01-28 04:02:53下载
    积分:1
  • Visual C# 隐藏、显示开始按钮
    C# 隐藏、显示开始按钮,把Windows的开始菜单隐藏起来,看不到“开始”菜单了,Windows7则隐藏了窗口图标,不过这样会很不方便哦,本源码只是学习C#与Windows之间的相关编程技巧,下面的代码实现了隐藏显示开始菜单的功能:   [DllImport("user32.dll")]//寻找窗口列表中第一个符合指定条件的顶级窗口   public static extern int FindWindow(string lpClassName, string lpWindowName);   [DllImport("user32.dll")]//在窗口列表中寻找与指定条件相符的第一个子窗口   public static extern int FindWindowEx(int hWnd1, int hWnd2, string lpsz1, string lpsz2);   [DllImport("user32.dll")]//控制窗口的可见性   public static extern int ShowWindow(int hwnd, int nCmdShow);   private void button1_Click(object sender, EventArgs e)   {    if (radioButton1.Checked)    ShowWindow(FindWindowEx(FindWindow("Shell_TrayWnd", null), 0, "Button", null), SW_HIDE);//隐藏开始按钮    else if (radioButton2.Checked)    ShowWindow(FindWindowEx(FindWindow("Shell_TrayWnd", null), 0, "Button", null), SW_SHOW);//显示开始按钮   }
    2022-05-20 11:42:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载