登录
首页 » 算法 » 旅行商问题 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...

旅行商问题 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...

于 2022-03-31 发布 文件大小:39.46 kB
0 138
下载积分: 2 下载次数: 1

代码说明:

旅行商问题 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。 例如:给定4个城市{1,2,3,4}及其各城市之间的路程 最优路线是1,3,2,4,1, 其最短路程是25-a salesman, traveling salesman problem, a number of cities to sell commodities, the known distance between the city (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest. For example : given four cities (1,2,3,4) and the distance between the city optimal route is 1,3,2,4, 1, the shortest distance is 25

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

发表评论

0 个回复

  • Kriging
    基于oeo4b的Kriging插值算法/克里格.js工作。插值一组X,Y,Z坐标。
    2022-01-23 11:00:26下载
    积分:1
  • 从键盘输入阿拉伯的浮点数人民币然后,转换成中文大写的人民币
    从键盘输入阿拉伯的浮点数人民币然后,转换成中文大写的人民币-keyboard input from the Arab yuan float then converted into Chinese yuan of capital
    2022-08-11 10:34:34下载
    积分:1
  • 98年全国大学生数学建模竞赛B题"水灾巡视问题"模拟退火。...
    98年全国大学生数学建模竞赛B题"水灾巡视问题"模拟退火算法。-98 National Mathematical Contest in Modeling B and that the "flood inspections" simulated annealing.
    2022-07-05 03:34:32下载
    积分:1
  • 交通管理的 prolog 代码
    用于管理交通的 prologthis 程序的源代码检查街和 increese 的当前状态或 decreese 从红色计时器
    2022-01-27 22:31:38下载
    积分:1
  • 你自己漫漫理解吧,我市转载的
    你自己漫漫理解吧,我市转载的-your own long understood it, reproduced in the city
    2022-04-15 15:51:38下载
    积分:1
  • 使用递归实现的快速排序
    使用递归实现的快速排序法-Quick sort using recursive
    2022-08-04 11:35:02下载
    积分:1
  • Mathematics, like after the transformation, QR decomposition, such as solution o...
    数学,好似后的变换,QR分解等解场系数微分方程的程序-Mathematics, like after the transformation, QR decomposition, such as solution of differential equation field procedures
    2022-09-13 06:45:03下载
    积分:1
  • TSA趋势检验
    通过程序,可以对时间序列数据进行趋势检验分析,TSA突变趋势分析程序可以广泛应用于动力学和水文时间序列数据的检验之中。
    2022-07-02 15:37:11下载
    积分:1
  • 地铁乘坐问题
    为引导旅客合理利用线路资源,解决交通瓶颈问题,该市制定了票价策略: 每条线路可以单独购票,票价不等。 允许购买某些两条可换乘线路的联票,联票价格低于分别购票的价格和。 单线票价和联合票价由文件price.txt给出,形式如下:   线1 180   ……   线13 114   线1,线2 350   线1,线10 390   …… 文件price.txt中,每行数据表示一条单线或联线的票价。线名与票价间用空格分开。如果是联线,两线名之间用逗号分开,并且规定联线只能包含两条可换乘的线路。 现在的问题是,根据这些已知的数据,计算从A站到B站最小花费和可行的换乘方案。比如,
    2023-08-01 18:40:03下载
    积分:1
  • 可以实现矩阵行列式的任意变换,求任意向量的极大无关组,齐次非齐次线性方程组的求解...
    可以实现矩阵行列式的任意变换,求任意向量的极大无关组,齐次非齐次线性方程组的求解-Can achieve an arbitrary transformation matrix determinant, find great vector independent of any group, homogeneous non-homogeneous linear equations to solve, etc.
    2023-07-07 14:20:03下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载