Hi,
I'm testing the CVRP Load from this link
Objective: 295064
dropped orders: []
dropped reload stations: [3, 4]
Route for vehicle 0:
0 Load(0) Time(0,0) -> 13 Load(0) Time(10,200) -> 1 Load(8) Time(53,386) -> 12 Load(0) Time(130,463) -> 5 Load(8) Time(172,505) -> 10 Load(0) Time(250,583) -> 11 Load(3) Time(267,600) -> 7 Load(7) Time(290,831) -> 15 Load(10) Time(309,850) -> 0 Load(13) Time(330,1500)
Distance of the route: 2716m
Load of the route: 13
Time of the route: 330min
Route for vehicle 1:
0 Load(0) Time(0,0) -> 17 Load(0) Time(5,150) -> 9 Load(3) Time(45,550) -> 8 Load(7) Time(66,700) -> 6 Load(10) Time(84,850) -> 0 Load(13) Time(105,1500)
Distance of the route: 1872m
Load of the route: 13
Time of the route: 105min
Route for vehicle 2:
0 Load(0) Time(0,0) -> 14 Load(0) Time(2,84) -> 21 Load(3) Time(30,104) -> 19 Load(11) Time(72,146) -> 2 Load(15) Time(97,171) -> 18 Load(0) Time(176,250) -> 20 Load(4) Time(201,550) -> 16 Load(12) Time(244,950) -> 0 Load(15) Time(265,1500)
Distance of the route: 2876m
Load of the route: 15
Time of the route: 265min
Total Distance of all routes: 7464m
Total Load of all routes: 41
Total Time of all routes: 700min
I think the output is not correct
1) Load of the route is calculated only for last trip of the vehicle
2) Index of the node in route is not correct: For example Vehicle 0 goes to node 1 and loads 8. Node 1. does not have demand value 8, and why Vehicle goes to node 13 and load 0?
Can some one show me how to correct index of the node for problem 2?
Thank you very much,
Thai