photo

Yoan


Last seen: 6 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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)));

9 months ago | 0