vrp_ga-master

所属分类:汇编语言
开发工具:matlab
文件大小:6KB
下载次数:7
上传日期:2021-01-04 15:01:47
上 传 者J卓
说明:  最优路径遗传算法,用于搜寻最优路径,可根据需要修改目标函数,最小成本、最短时间等
(Genetic alogrithm for optimal-path searching ,available for finding out the best path,constrained by minimum-cost,minimum-time.etc.)

文件列表:
db (0, 2019-12-14)
db\tests.csv (7942, 2018-11-28)
dist.m (383, 2018-11-28)
main_ga.m (1633, 2018-11-28)
popInicial.m (840, 2018-11-28)
simple_o_function.m (1839, 2018-11-28)

# vrp_ga Sample VRP problem with GA solution # Preconditions Before run the example, you must to create a folder 'results' inside the project folder; that folder will be the place to put all results from the 30 tests that the algorithm make. # Datasets The datasets are inside the folder db in the file tests.csv. If you want to use an other datasets, only replace de value from the filename at line 5 in main_ga. # Files In file main_ga.m are all the main code to execute the test. The others files are functions that we need like popInitial.m (used to build the initial population), dist.m (used to calculate the euclidean distance between all points) and simple_o_function.m (used to gets the fitness of the chromosomes).

近期下载者

相关文件


收藏者