Feeds
답변 있음
How to write CVRP (capacitated vehicle routing problem) objective function?
routeLength = @(route, distance) sum(arrayfun(@(n) distance(route(n), route(n+1)), 1:(numel(route)-1)));
How to write CVRP (capacitated vehicle routing problem) objective function?
routeLength = @(route, distance) sum(arrayfun(@(n) distance(route(n), route(n+1)), 1:(numel(route)-1)));
대략 2년 전 | 0
