Hey Laurent, thanks for your fast response.
Yes, using manager.IndexToNode(5) return correct value, 4. So what am I missing?
IndexToNode returns the node corresponding to an index. A node may appear more than once if it is used as the start or the end node of multiple vehicles. This is the definition for IndexToNode().
So in my case where I have Start = {0 , 1 2, 3} and End = {4, 4,4, 4} , for each vehicle id (0,1,2,3) end sill start at 4 and increase +1. (0,4) (1,5) (2, 6) (3, 7). And using indexToNode() for 4,5,6,7 will return 4 ?
I'm trying to figure out what is the difference between index and node ? I was thinking that index is from the matrix and node is from the generated routes but after this it seems that I'm wrong.
I will appreciate if you can help me to understand the difference ?
Thanks