登录
首页 » Matlab » 简单的蚁群算法求解TSP问题,可随时拓展

简单的蚁群算法求解TSP问题,可随时拓展

于 2022-02-03 发布 文件大小:1.36 kB
0 46
下载积分: 2 下载次数: 1

代码说明:

考虑到TSP问题的特点,采用一种受贪婪算法启发的贪婪交叉算子和贪婪倒位变异算子,实验证明,该算法能够极大地提高了算法的收敛速度又保证了最优解的得到,而且具有较好的鲁棒性。下面遗传算法求解TSP的基本步骤: (1)种群初始化。个体编码方法有二进制编码和实数编码,在解决TSP问题过程中个体编码方法为实数编码。对于TSP问题,实数编码为1-n的实数的随机排列,初始化的参数有种群个数M、染色体基因个数N(即城市的个数)、迭代次数C、交叉概率Pc、变异概率Pmutation。 (2

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

发表评论


0 个回复

  • MatlabSharedLib_demo
    Introduction Some times it is required that we build a shared library (DLL) from an m-file. M-files are functions that are written in Matlab editor and can be used from Matlab command prompt. In m-files, we employ Matlab built-in functions or toolbox functions to compute something. In my past articles, I showed you some ways to use Matlab engine (vis. API, C++ class or Matlab engine API) for employing Matlab built-in functions, but what about functions that we develop? How can we use them in VC? Is there any interface? This article shows you an idea to employ your own Matlab functions.
    2007-11-05 15:09:26下载
    积分:1
  • Bloom
    Bloom效果(附代码), 很酷的一个效果,效率不算高。互相交流一下。看看吧!(Bloom effect (with code), a cool effect, efficiency is not high. Exchange about. Let' s see it!)
    2010-02-02 17:14:45下载
    积分:1
  • 7941940rgmy
    说明:  神经网络与免疫算法的结合,用matlab编程实现一些小功能(Neural network with a combination of immune algorithm with matlab programming to achieve some small features)
    2008-10-27 20:26:59下载
    积分:1
  • PAPR_CDF
    Script for computing the per symbol peak to average PAPR for an OFDM transmit waveform (loosely based on IEEE 802.11A specifications)
    2015-02-20 16:07:14下载
    积分:1
  • matlab_book
    matlab的经典书籍,百看不厌。 感兴趣的网友可以下载学习。(matlab classic book , never get tired . Interested users can download learning . )
    2012-11-05 16:22:17下载
    积分:1
  • kaerman-weina-zishiying
    关于维纳滤波器、卡尔曼滤波器、自适应滤波器的设计方法,及信号提取、分析,附有作业及相关程序。(On the Wiener filter, Kalman filter, adaptive filter design method, and signal extraction, analysis, with operations and related procedures.)
    2013-05-20 23:40:39下载
    积分:1
  • BPSK
    BPSK调制解调,采用升余弦波形成形,误码性能分析(BPSK modulation and demodulation, the use of raised cosine waveform shaping, error performance analysis)
    2021-04-27 22:28:44下载
    积分:1
  • 2
    说明:  端射直线阵 最大辐射在天线阵的端点天线阵的最大辐射是沿着阵元所在的轴 (Maximum end-fire linear array antenna array at the end of radiation antenna array is the maximum radiation along the axis where the array elements)
    2010-10-26 14:56:51下载
    积分:1
  • chaoliuchaoliu
    潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算潮流计算(chaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuanchaoliujisuan)
    2010-11-15 19:52:36下载
    积分:1
  • transfert.m
    Matlab sourcecode for heattransfert in plate
    2013-11-25 22:48:42下载
    积分:1
  • 696518资源总数
  • 104767会员总数
  • 12今日下载