Avoid Overlapping Routes | OR Tools | Vehicle Routing

225 views
Skip to first unread message

Surya Vijayakumar

unread,
Oct 9, 2020, 8:15:33 AM10/9/20
to or-tools-discuss
Hi,

I am using cvrptw_plot.py to run capacitated vehicle routing problem with time windows. I am able to get the routes. But the routes are quite overlapping. Is there any way I can use existing parameters in the tool or use any constraint/cost to avoid overlap of routes

Attaching a snip of the overlapping routes (does not contain the depot point)

Any help would be appreciated

Regards,
Surya

20th.PNG

Laurent Perron

unread,
Oct 9, 2020, 8:52:47 AM10/9/20
to or-tools-discuss
Nothing from the geographical point of view. 
Now, without time windows, naturally the solver tends to separate routes. With time windows, and extra constraints (pdp, capacity...). You cannot decide what is a good route.

Why does it bother you ?
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



**********

This communication is confidential, may be privileged and is intended solely for the addressee. No part of this e-mail or any files transmitted with it can be reproduced, shared, forwarded online or offline without the express consent of the sender. If you are not the intended recipient, please preserve the confidentiality, delete this e-mail and attachments, if any from your system and notify the sender immediately.

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/85ba8e45-0478-43b5-a630-53949083ba6an%40googlegroups.com.

Surya Vijayakumar

unread,
Oct 9, 2020, 8:55:19 AM10/9/20
to or-tools...@googlegroups.com
It is a matter of concern because on the ground when drivers are given the routes , they complain about the fact that two or more drivers are heading in the same direction. 

Regards,
Surya

You received this message because you are subscribed to a topic in the Google Groups "or-tools-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/or-tools-discuss/hi7qfE3CPis/unsubscribe.
To unsubscribe from this group and all its topics, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/CABcmEeYR5M5X_z0wBb5oKOQ4diSsKg7Bti%3DzgZDJ-Ts%2BQHDNTg%40mail.gmail.com.

Laurent Perron

unread,
Oct 9, 2020, 9:07:58 AM10/9/20
to or-tools-discuss
Then you can decompose the problem geographically, and solve each region separately.

Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00


Reply all
Reply to author
Forward
0 new messages