can we use multiple RegisterTransitCallback in ortools?

Viewed 256

Does anyone know if we can use multiple RegisterTransitCallback for different dimensions in ortools vrp? What I have noticed in my code shows that only the last RegisterTransitCallback will take effect for all the added dimensions.

1 Answers

I is common to have one callback for time and one for distance. This is shown in vrptw examples.

So yes.

Related