多旅行商matlab实验源码

上传者: wangudongdong | 上传时间: 2019-12-21 21:35:00 | 文件大小: 13KB | 文件类型: rar
多旅行商matlab实验源码实现了三种多旅行商问题 % MTSPOF_GA Fixed Open Multiple Traveling Salesmen Problem (M-TSP) Genetic Algorithm (GA) % Finds a (near) optimal solution to a variation of the "open" M-TSP by % setting up a GA to search for the shortest route (least distance needed % for each salesman to travel from the start location to unique % individual cities and finally to the end location) % % Summary: % 1. Each salesman starts at the first point, and ends at the last % point, but travels to a unique set of cities in between (none of % them close their loops by returning to their starting points) % 2. Except for the first and last, each city is visited by exactly one salesman % % Note: The Fixed Start is taken to be the first XY point and the Fixed End % is taken to be the last XY point % % Input: % XY (float) is an Nx2 matrix of city locations, where N is the number of cities % DMAT (float) is an NxN matrix of city-to-city distances or costs % SALESMEN (scalar integer) is the number of salesmen to visit the cities % MIN_TOUR (scalar integer) is the minimum tour length for any of the % salesmen, NOT including the start point or end point % POP_SIZE (scalar integer) is the size of the population (should be divisible by 8) % NUM_ITER (scalar integer) is the number of desired iterations for the algorithm to run % SHOW_PROG (scalar logical) shows the GA progress if true % SHOW_RES (scalar logical) shows the GA results if true % % Output: % OPT_RTE (integer array) is the best route found by the algorithm % OPT_BRK (integer array) is the list of route break points (these specify the indices % into the route used to obtain the individual salesman routes) % MIN_DIST (scalar float) is the total distance traveled by the salesmen % % Route/Breakpoint Details: % If there are 10 cities and 3 salesmen, a possible route/break % combination might be: rte = [5 6 9 4 2 8 3 7], brks = [3 7] %

文件下载

资源详情

[{"title":"( 3 个子文件 13KB ) 多旅行商matlab实验源码","children":[{"title":"Matlab多旅行商实验","children":[{"title":"mtspofs_ga.zip <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"mtspf_ga.zip <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"mtspof_ga.zip <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • yeahpeng :
    挺好的, 不亏是花了3积分
    2015-02-08
  • 雨中的路 :
    三种算法均可以在MATLAB2013a下成功运行,但是注释全部为英文,故具体的实现方法还在研究中。非常感谢分享该资源
    2014-11-08
  • sun_xf1 :
    不错,应该可以使用。
    2014-10-01
  • zmy111111zmy :
    要是给点说明就好的,说明太少了
    2013-10-03
  • zhmuch :
    很好,程序可以跑下来,要是再多点注释就好了。
    2013-09-03

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明