登录
首页 » matlab » TS_TSP

TS_TSP

于 2007-10-19 发布 文件大小:5KB
0 152
下载积分: 1 下载次数: 87

代码说明:

  解决TSP问题的TS算法MATLAB实现,其中加入了变异算法,当然也可以去掉这个步骤,调用TS_TSP(N, inStart, IsBianYi),N是城市数目,inStart是起始城市的序号,IsBianYi就是选择变异否,如果为0则不要变异,否则就是结合变异算子的TS算法。 至于下面的参数可以自己调: T:总的循环次数; tabulength:禁忌长度; Pby:变异概率; (Solve the TSP problem MATLAB realize TS algorithm, which joined the variance algorithm, of course, this step can also be removed, call TS_TSP (N, inStart, IsBianYi), N is the number of cities, inStart is the serial number of the starting cities, IsBianYi is to choose variation has, if not for the variation of 0, otherwise, it is combined with mutation of the TS algorithm. As for the following parameters can be their own tune: T: total number of the cycle tabulength: taboo length Pby: mutation probability )

文件列表:

TSP_DATA.m
TS_TSP.m
TS_TSP.txt

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

发表评论


0 个回复

  • pso
    粒子群算法解决二进制问题,通过matlab语言进行编程(Binary particle swarm algorithm to solve the problem, through the matlab programming language)
    2009-11-16 17:11:04下载
    积分:1
  • LBM-liquid
    matlab 模拟单相流动换热,验证可行。有很好的参靠价值意义(matlab simulation of single-phase flow and heat transfer, proven feasible. Have a good sense of the value of participation by)
    2013-11-18 10:37:06下载
    积分:1
  • subim
    编写一个可以从一幅图像中提取一幅矩形子图像的函数。(Write an image can be extracted from an image of a rectangular sub-functions.)
    2013-09-06 20:33:30下载
    积分:1
  • ASR
    矢量控制系统中的PI调节器,此为速度调节器(PI regulator in the vector control system, this is the speed regulator)
    2013-04-04 20:20:09下载
    积分:1
  • QPSK_Rayleigh
    QPSK信号通过Rayleigh信道,并计算出误码率(QPSK signals go through Rayleigh channel)
    2013-12-13 15:51:46下载
    积分:1
  • genetic-algrithm
    matlab中遗传算法的程序 可供初学者学习 由于有的版本的matlab中遗传算法程序的不好用可以用本程序覆盖一下(Genetic algorithm matlab program for beginners to learn due some bad versions of matlab genetic covered by this program can be used to look at the program' s algorithm)
    2013-12-18 16:45:54下载
    积分:1
  • sys1
    变焦系统的共轭距调制程序,自动计算变倍组与补偿组的共轭距离。可快速计算变倍光学系统共轭距(Conjugate zoom system from the modulation process, automatically calculates the zoom group and compensation group conjugate distance. Can quickly calculate the conjugate variable optical system from the)
    2009-12-02 14:13:51下载
    积分:1
  • matlab
    matlab 解方程和最优化问题,希望广大学者朋友能用上(matlab solving equations and optimization problems, hope that friends can be used on the majority of scholars)
    2011-04-20 16:48:53下载
    积分:1
  • antcolony
    ant colony algorithm for optimization of systems
    2011-11-24 05:00:22下载
    积分:1
  • PV-simulation-program
    这是基于matlab的光伏发电仿真程序,与大家一起分享!(This is based on the matlab PV simulation program, and to share with everyone!)
    2011-12-16 20:35:32下载
    积分:1
  • 696518资源总数
  • 105282会员总数
  • 11今日下载