资源简介

运筹学大作业,用五种算法解决经典tsp问题,选取某地一次定向越野比赛,使用模拟退火算法,蚁群算法,遗传算法,hopfiled神经网络,和lingo来解决问题。包括源代码和课程大报告

资源截图

代码片段和文件信息

import numpy as np

distmat = np.array([[0350290670600500660440720410480970]
                 [35003403602803755554907857607001100]
                 [290340058041063079568010306957801300]
                 [6703605800260380610805870110010001100]
                 [6002804102600610780735103010009601300]
                 [5003756303806100160645500950815950]
                 [6605557956107801600495345820680830]
                 [4404906808057356454950350435300625]
                 [720785103087010305003453500475320485]
                 [410760695110010009508204354750265745]
                 [48070078010009608156803003202650585]
                 [97011

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-16 16:27  code\
     文件        4389  2016-10-24 15:43  code\ant.py
     目录           0  2017-04-16 16:23  code\Hopfield\
     文件         253  2016-10-23 15:03  code\Hopfield\diff_u.m
     文件         409  2016-10-23 10:26  code\Hopfield\distance.mat
     文件         295  2016-10-24 12:11  code\Hopfield\energy.m
     文件        1559  2016-10-24 12:10  code\Hopfield\main.m
     文件        7680  2016-10-24 15:49  code\LINGO_tsp.lg4
     文件        3886  2016-10-23 22:13  code\tuihuo.py
     文件        4292  2016-10-23 19:13  code\yichuan.cpp
     文件      547727  2017-04-16 16:27  code\某校区定向越野路径规划.pdf

评论

共有 条评论