vrp icon indicating copy to clipboard operation
vrp copied to clipboard

Grouping waypoints together (strict relation type but without strict ordering)

Open madjam002 opened this issue 8 months ago • 1 comments

Hi there,

First of all thanks for the great project! I'm playing around with this for a proof of concept and one use case I have is to group multiple jobs together so that they appear as a group in the solution with no other jobs in between. I need to be able to create multiple groups as well.

I tried using the strict relation type which almost does exactly what I want, except the jobs are strictly in the exact order of the IDs that are passed in, whereas I want the order to be flexible so that it's still the most optimal route.

Is this possible at the moment, and if not if it's relatively straightforward I would be happy to pay to get this implemented :)

Thanks

madjam002 avatar May 07 '25 22:05 madjam002

Hi,

have you checked other relation types? For example, any, which doesn't enforce ordering. https://reinterpretcat.github.io/vrp/concepts/pragmatic/problem/relations.html

reinterpretcat avatar Jun 10 '25 19:06 reinterpretcat