資源簡介
TSP的求解局部搜索,模擬退火和禁忌搜索程序

代碼片段和文件信息
function?cities?=?data_file()
cities=zeros(220);
cities0=[0.66060.96950.59060.21240.03980.13670.95360.60910.8767...
????0.81480.38760.70410.02130.34290.74710.54490.94640.12470.1636...
????0.8668;
????0.95000.67400.50290.82740.96970.59790.21840.71480.2395...
????0.28670.82000.32960.16490.30250.81920.93920.81910.43510.8646...
????0.6768];
p=randperm(20);
for?i=1:20
????cities(:i)=cities0(:p(i));
end
save?cities.mat?cities?-V6;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????312??2009-04-07?15:42??TSP的求解局部搜索,模擬退火和禁忌搜索程序\cities.mat
?????文件????????483??2009-04-03?14:48??TSP的求解局部搜索,模擬退火和禁忌搜索程序\data_file.m
?????文件????????546??2005-09-07?20:35??TSP的求解局部搜索,模擬退火和禁忌搜索程序\distance.m
?????文件???????4680??2009-04-07?02:50??TSP的求解局部搜索,模擬退火和禁忌搜索程序\loadbays29.m
?????文件???????1284??2009-04-07?15:12??TSP的求解局部搜索,模擬退火和禁忌搜索程序\localsearch.m
?????文件????????386??2009-05-31?21:07??TSP的求解局部搜索,模擬退火和禁忌搜索程序\readme.txt
?????文件???????2349??2009-04-07?22:06??TSP的求解局部搜索,模擬退火和禁忌搜索程序\simulatedannealing.m
?????文件????????452??2009-04-07?14:59??TSP的求解局部搜索,模擬退火和禁忌搜索程序\swapcities.m
?????文件???????2792??2009-04-07?15:02??TSP的求解局部搜索,模擬退火和禁忌搜索程序\Tabusearch.m
?????文件??????10191??2009-04-07?15:39??TSP的求解局部搜索,模擬退火和禁忌搜索程序\TSP_Q.fig
?????文件??????16282??2009-04-07?14:58??TSP的求解局部搜索,模擬退火和禁忌搜索程序\TSP_Q.m
?????目錄??????????0??2009-05-31?21:11??TSP的求解局部搜索,模擬退火和禁忌搜索程序
-----------?---------??----------?-----??----
????????????????39757????????????????????12
評論
共有 條評論