登录
首页 » Matlab » 蚁群算法-TSP旅行商问题

蚁群算法-TSP旅行商问题

于 2022-02-13 发布 文件大小:1.56 kB
0 97
下载积分: 2 下载次数: 2

代码说明:

旅行商问题 (TSp问题 )假设有个旅行商人要拜访3 1个城市,他 需要选 择所要 走 的路径 , 路径的限制是每个城市只能拜访1次 , 而且最后要回到原来出发的城市 。 路径的选择要求是所选路径的路程为所有路径之中的最小值 。全 国 3 1 个城市的坐标为 [13 0 4 2 3 12 ; 3 6 3 9 13 15 , 4 17 7 2 2 4 4 ; 3 7 12 13 9 93 4 8 8 15 3 5 ; 3 3 2 6 15 5 6 ; 3 2 3 8 12 2 9 ; 4 19 6 10 0 4 , 4 3 12 7 9 0 , 4 3 8 6 5 7 0 ; 3 0 0 7 19 7 0 ; 2 5 6 217 5 6 ; 2 7 8 8 14 9 1 , 2 3 8 1 16 7 6 ; 13 3 2 6 9 5 ; 3 7 15 16 7 8 ; 3 9 18 2 17 9 , 4 0 6 1 2 3 7 0 ; 3 7 8 02 2 12,3 6 7 6 2 5 7 8 ; 4 0 2 9 2 8 3 8 ; 4 2 6 3 2 9 3 1 ; 3 4 2 9 19 0 8 ; 3 5 0 7 2 3 6 7 ; 3 3 9 4 2 6 4 3 , 3 4 3 93 2 0 1; 2 9 3 5 3 2 4 0 ; 3 14 0 3 5 5 0 ; 2 5 4 5 2 3 5 7 ; 2 7 7 8 2 8 2 6 ; 2 3 7 0 2 9 7 5]·解 仿真过程如下( 1 ) 初始化蚂蚁个数 m = 5 0 , 信息素重要程度参数 A lp h a = 1 , 启发式因子重要程度参数 B e ta = 5 , 信息素蒸发系数 R h o = 0 1 , 最大迭代次数 G = 2 0 0 , 信息(2 ) 将 m 个蚂蚁置于 n 个城市上 , 计算待选城市的概率分布 , m 只蚂蚁按概率函数选择下 座城市 , 完成各 自的周游 。(3 ) 记 录本次迭代最佳路线 , 更新信息素 , 禁忌表清零 。(4 ) 判断是否满足终止条件 若满足 , 则结束搜索过程 , 输 出优化值 若不满足 , 则继续进行迭代优化

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

发表评论

0 个回复

  • matlab7_chapter_of_the_wonderful_examples_to_impro
    matlab7编程提高篇之精彩实例教程matlab7 chapter of the wonderful examples to improve programming tutorial(matlab7 articles of wonderful examples to improve programming tutorial matlab7 chapter of the wonderful examples to improve programming tutorial)
    2010-08-02 09:40:23下载
    积分:1
  • matlab-performence
    图像降噪GUI界面,用到butterworth滤波器,中值滤波器和维纳滤波器,仅供参考。(noise reduction using media filter )
    2013-05-03 10:46:05下载
    积分:1
  • esprit
    跟prony算法一样,ESPRIT(Estimation of Signal Parameters Via Rotational Invariance Techniques)也是一种参数法,它是一种基于旋转不变技术参数估计的信号处理方法,此方法可以高精度地辨识电力系统中任意组合的衰减/非衰减正弦信号的频率,相位及其幅值等信息。它不需要对信号进行同步采样。此方法把信号空间分解为信号子空间和噪声子空间,能够在较短的信号长度内准确的检测出信号中各个谐波和间谐波成分。(ESPRIT)
    2010-03-04 10:28:04下载
    积分:1
  • krakenc_tl
    利用kraken计算的声场信息,在matlab中仿真得到声传播损失(Calculated by kraken sound field sound transmission loss simulation in matlab)
    2021-03-24 17:19:14下载
    积分:1
  • BAnet-and-MATLAB
    无标度网络简介 生成原则 matlab程序代码以及最终成图plot(Introduction to generate scale-free network matlab code principles and ultimately into the chart plot)
    2013-11-24 15:56:39下载
    积分:1
  • 无线系统 imad
    4 g uysing ofdm 和 fbmc 系统中的滤波器银行 im 埃及无线通信系统
    2022-10-14 01:25:03下载
    积分:1
  • Random walker image segmentation
    The random walker algorithm was introduced in the paper: Leo Grady and Gareth Funka-Lea, "Multi-Label Image Segmentation for Medical Applications Based on Graph-Theoretic Electrical Potentials", in Proceedings of the 8th ECCV04, Workshop on Computer Vision Approaches to Medical Image Analysis and Mathematical Methods in Biomedical Image Analysis, p. 230-245, May 15th, 2004, Prague, Czech Republic, Springer-Verlag. Available at: http://cns.bu.edu/~lgrady/grady2004multilabel.pdf
    2023-04-16 05:05:04下载
    积分:1
  • 基于Matlab的 GUI的集成软件 clutter
    基于Matlab的 GUI的集成软件,功能包括: 1、海杂波模型仿真和统计分析(瑞利、韦伯、对数和K分布SIRP和ZMNL法); 2、海杂波/波导参数估计(海杂波、多径和波导参数和雷达探测性能估计); 3、实测海杂波数据统计分析。(Matlab' s GUI-based integrated software, features include: 1, sea clutter model simulation and statistical analysis (Rayleigh, Weber and K on the number and distribution of SIRP and ZMNL Act) 2, Sea Clutter/waveguide parameter estimation ( sea clutter, multipath and the waveguide parameters and the radar detection performance is estimated) 3, measured sea clutter data statistical analysis.)
    2021-01-09 11:38:52下载
    积分:1
  • Kamran-Zeb(SP14-R09-008)
    multivariable stepest decent method matlab code
    2014-10-29 04:09:16下载
    积分:1
  • gistdescriptor
    This code contain the gist descriptor in matlab
    2013-04-08 07:53:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载