文件名称:tabu_search

  • 所属分类:
  • Maple
  • 资源属性:
  • [Matlab] [源码]
  • 上传时间:
  • 2016-11-11
  • 文件大小:
  • 2kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • snow*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

我们尝试用禁忌搜索(tabu search)算法来解决旅行商问题(TSP),程序可以选择随机生成点的位置坐标,也可以从圆上均匀取点(比较容易判断结果的好坏)。

我们采用下面的一些规则来运行程序:

特赦规则:如果新解被禁,但是目标函数值比当前最优解的目标函数值小于某个定值时,接受新解。

终止规则:1、如果在给定的迭代次数内,最优解的目标函数值保持不变终止2、迭代次数达到给定的最大值时终止。

候选解的产生:本实验中我采取的是随机产生候选解的方法

一些参数的选取:

在每一步的迭代中,保留bl n个候选解(也可以产生n(n-1)/2),禁忌长度取tl sqrt(n),最大迭代步数设为maxl 500

运行程序有如下结果:

在半径为5的圆上均匀取n 50个点(能够直观地观察解的收敛性)-We try Tabu search (tabu search) algorithm to solve the traveling salesman problem (TSP), the program can the location coordinates of randomly generated points can even take some (relatively easy to determine the result is good or bad) the circle. We use the following rules to run the program: Amnesty Rule: If the new solution is disabled, but the objective function value is less than a given value than the current optimal solution of the objective function, the acceptance of the new solution. Termination rules: 1. If, within a given number of iterations, the optimal solution of the objective function value remains unchanged termination 2, termination achieve a given maximum number of iterations. Candidate Generation Solutions: The experiment I took a random method of generating a candidate solution of some of the selected parameters: at each step of the iteration, bl  n candidate solution retention (can also produce n (n-1)/2) taboos length take tl  sqrt (n), the maximum number of
(系统自动生成,下载前可以参看下载内容)

下载文件列表





Distance.m

drawTSP.m

Tabu_search_TSP.m

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org