登录
首页 » c++ » c++解决tsp问题

c++解决tsp问题

于 2022-06-16 发布 文件大小:1.70 kB
0 108
下载积分: 2 下载次数: 1

代码说明:

利用遗传算法解决tsp问题,采用传统的两点交叉,单点变异操作,通过不断迭代,逐步逼近最优解。 同时,该算法使用已经设计好的距离矩阵,最后输出的是寻得的最短距离和最优解的代数。

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

发表评论

0 个回复

  • keytest
    使用外部中断的方法,使用按键中断点亮一个灯(Method of using external interrupt, use the button to light a lamp)
    2013-10-20 08:07:07下载
    积分:1
  • bujindianji
    51单片机开发步进电机源代码及报告解释说明(a progress of 51MCU introduction)
    2015-06-21 23:03:37下载
    积分:1
  • wave-simulator-antenna-
    基于IRA天线的辐射波模拟器天线辐射性能研究(Radiation wave simulator antenna radiation performance of the antenna-based IRA)
    2013-11-24 10:17:13下载
    积分:1
  • 0-1bag
    经典的0-1背包问题,程序可以自动输入并且有注释(Classical 0-1 knapsack problem, the program can automatically entered and annotated)
    2014-01-31 08:54:38下载
    积分:1
  • Failure-Mode-and-Reliability
    结构系统失效模式可靠性Monte-Carlo法 结构系统失效模式研究与可靠性分析(Structural system reliability failure modes Monte-Carlo method structural system reliability analysis and failure mode study)
    2013-12-18 19:43:11下载
    积分:1
  • hefumanbianma
    2010-04-17 17:02:02下载
    积分:1
  • achieve
    通过编写C语言,在MATLAB上实现路由器仿真,实现路由器的功能。(Written by C language, simulation on MATLAB implementation routers, realize the function of the router. )
    2013-10-30 23:27:56下载
    积分:1
  • project
    已知资金总数为a(万元),工程数n,以及利润值g(i,j)(表示对工程i投资j万元所获得的利润,其中 ,且j只取整数),试用动态规划方法求出如何分配资金才能使获得的利润 最大(资金的分配以万元为单位)。 (The total number of funds are known to a (million), project the number of n, as well as the profits of the value of g (i, j) (expressed j million investment project i receive the profits, of which only take an integer and j), a trial of dynamic programming how to allocate capital to find ways to get the most profitable (the allocation of funds of thousands of units).)
    2010-01-06 22:12:44下载
    积分:1
  • WebCast20060110am_Demo
    .NET Compact Framework数据访问技术杂谈源代码(. NET Compact Framework Data Access Technologies Talking source code)
    2006-11-16 08:46:39下载
    积分:1
  • 单例模式-基本代码
    说明:  dahua hikvision test door access control
    2020-06-24 07:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载