In the instance of the Vehicle Routing Problem (VRP) with Google's OR-Tools that I'm trying to solve, only certain routes (tours) should end at the starting point, i.e. the depot.
I can edit the distances from every location to the depot. Setting them all to 0 will have the effect of setting an arbitrary end location and the routes will look kind of "radial" with a center in the depot. Whereas setting a distance from every location to the depot will make the routes look "circular".
The question is, how to model the problem so that only some of the routes (containing a specific type of node) will be "circular"?