登录
首页 » 算法 » 98年全国大学生数学建模竞赛B题“水灾巡视问题”,是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,...

98年全国大学生数学建模竞赛B题“水灾巡视问题”,是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,...

于 2023-05-19 发布 文件大小:2.76 kB
0 218
下载积分: 2 下载次数: 1

代码说明:

98年全国大学生数学建模竞赛B题“水灾巡视问题”,是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,我们使用模拟退火法求出一个较优解,将所有结点编号为1到53,1到53的排列就是系统的结构,结构的变化规则是:从1到53的排列中随机选取一个子排列,将其反转或将其移至另一处,能量E自然是路径总长度。具体算法描述如下:步1: 设定初始温度T,给定一个初始的巡视路线。步2 :步3 --8循环K次步3:步 4--7循环M次步4:随机选择路线的一段步5:随机确定将选定的路线反转或移动,即两种调整方式:反转、移动。步6:计算代价D,即调整前后的总路程的长度之差步7:按照如下规则确定是否做调整:如果D0,则按照EXP(-D/T)的概率进行调整步8:T*0.9-->T,降温-98 National Mathematical Contest in Modeling B and that the "flood inspections", is a salesman problem, and that is 53 points, all possibilities about exp (53), there is no good way to get accurate solutions, since no exact solution for, we used simulated annealing France obtained an optimum solution to all nodes to a number of 53 to 53.1 is with the system structure, changes in the structure of the rules is : from 1-53 with a randomly selected with a son, to reverse or to move it to another, the energy E is the natural path length. The specific algorithm is described as follows : Step 1 : The initial set temperature T,

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

发表评论

0 个回复

  • 平均因子分解应用于正定矩阵
    平均因子分解法,适用于正定矩阵First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X=U U, where U is the square root matrix of X, and satisfies: (1) U U = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is "positive definite" which guarantees the existence of such kind of decomposition. -Average factor decomposition method applied to positive definite matrix First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X = UU, where U is the square root matrix of X, and satisfies: (1) UU = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is positive
    2022-10-16 04:30:02下载
    积分:1
  • A framework for a prime number, we provide a multi
    求某范围内得素数,我们多核试验提供得,老师让把它并行化-A framework for a prime number, we provide a multi-core test, the teacher let it parallelization
    2022-11-04 20:40:03下载
    积分:1
  • 贝叶斯分类器
    基于朴素贝叶斯算法的文本分类器,使用java语言编写。可以使用搜狗的文本库作为样本数据库。整个代码的结构层次感很强,结构清晰,对于学习贝叶斯分类器的学习者有较大的帮助,尤其可在短时间内快速的上手,并获得仿真结果。。
    2022-06-01 20:31:50下载
    积分:1
  • c语言实现图案绘制
    算例1使用图形学算法在屏幕上画出一个圆,运行结果如附图1. 运行本程序后,先要求用户输入要画圆的圆心坐标、半径等数据,然后清屏并按照用户给出数据画出一个圆。 知识点:Turbo C的图形方式编程、画圆算法等; 算例2:实现屏幕画线和画矩形的程序,运行效果见附图2. 运行本程序后在屏幕上显示256色的套接矩形框。 知识点:DOS中断调用以及怎样直接写视频缓冲区; 算例3:使用BIOS中断INT 10H的功能随机生成图案,运行效果附图3. 程序执行后将在屏幕上随机生成颜色并进行填充,本例中随机颜色的初始值选择比较偏近于蓝色调,也可以自行设ing。 算例4:实现了图形的旋转、平移和缩放,运行效果如附图4.
    2022-04-28 10:45:57下载
    积分:1
  • VB6 MD5 哈希值
    MD5 哈希计算器  VB6 (模块)。 你可以将模块添加到您的项目。
    2023-06-25 07:40:03下载
    积分:1
  • 摄影测量中单独像对立体前交的实现,挺有用的
    摄影测量中单独像对立体前交的算法实现,挺有用的-Photogrammetry separate ago as a three-dimensional reference to the algorithm, quite the
    2022-12-14 19:35:03下载
    积分:1
  • sdfsdf sdfsdf sd 自卫队自卫队 sd s fsdfsdf
    sdfsdf sdfsdf sd 自卫队自卫队 sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd自卫队自卫队 sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sds fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd 自卫队自卫队 sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf sdfsdf sd sdf sdf sd s fsdfsdfsdfsdf
    2022-11-04 12:55:03下载
    积分:1
  • 用多线程来排序,共有五种.
    用多线程来排序,共有五种算法.- Arranges with the multithreading, altogether has five algorithms
    2022-01-26 08:29:09下载
    积分:1
  • 大规模数据集的自适应网格
    Adaptive Grids for Clustering Massive Data Sets - MAFIA. It is a subspace clustering algorithm.-Adaptive Grids for Clustering Massive Data Sets- MAFIA. It is a subspace clustering algorithm.
    2023-01-02 02:50:03下载
    积分:1
  • 数据结构相关
    应用背景 应用背景: 这个工程项目是个人想建立一个统一的C语言算法库,算法库依赖于基础的数据结构,而数据结构的实现,又依赖于内存管理器的实现,所以基于内存池,构建了一个对象池的内存管理器,然后在基于内存管理器设计公共接口。数据结构的设计模式采用面向对象的设计方式。 关键技术关键技术这里可以说没有,主要核心部分就是数据结构算法的设计思路,和设计模式。因为红黑树已有现成Linux算法,所以直接采用红黑树做树形内存存储。其中红黑树可以用在数据库的底层数据索引、分类中。
    2022-08-06 21:18:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载