資源簡介
模擬退火算法解決vrp問題,模擬退火算法解決vrp問題。

代碼片段和文件信息
function?res?=?calculateCost(routemodel)
????city?=?model.city;
????veh?=?model.veh;
????maps?=?model.maps;
????
????route?=?[city+veh?route?city+veh];
????res?=?0;
????
????for?i?=?1:length(route)-1
????????res?=?res?+?maps(route(i)route(i+1));
????end
????
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-06-02?14:48??VRP-模擬退火\
?????文件?????????276??2018-06-02?14:25??VRP-模擬退火\calculateCost.m
?????文件????????1117??2018-06-02?14:24??VRP-模擬退火\createNeibor.m
?????文件???????10207??2018-06-02?14:24??VRP-模擬退火\hk48.tsp
?????文件????????1023??2018-06-02?14:22??VRP-模擬退火\initModel.m
?????文件?????????332??2018-06-02?14:16??VRP-模擬退火\isFeasible.m
?????文件?????????807??2018-06-02?14:16??VRP-模擬退火\plotSolution.m
?????文件??????????81??2018-06-02?14:15??VRP-模擬退火\randomSol.m
?????文件????????1429??2018-06-02?14:14??VRP-模擬退火\sa.m
- 上一篇:2016matlab破解版筆記本內置攝像頭配置包
- 下一篇:matlab激光光束
評論
共有 條評論