赞
踩
为了解决电商物流"最后1km"的配送问题,文章引入了卡车—无人机联合配送模式,并考虑特殊天气情况下无人机无法工作的约束,构建了以路径最短为目标的数学模型,在不同规模的算例试验中,通过卡车单独配送方案与联合配送方案对比可知无人机配送在解决物流配送问题中的重要性.
function lh = matlabUpdatePlotapp(lh,xopt,idxs,stopsLat,stopsLon, app)
% Plotting function for tsp_intlinprog example
% Copyright 2014-2018 The MathWorks, Inc.
if ( lh ~= zeros(size(lh)) ) % First time through lh is all zeros
delete(lh) % Get rid of unneeded lines
end
segments = find(round(xopt)); % Indices to trips in solution
% Loop through the trips then draw them
Lat = zeros(3*length(segments),1);
Lon = zeros(3*length(segments),1);
for ii = 1:length(segments)
start = idxs(segments(ii),1);
stop = idxs(segments(ii),2);
%
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。