Help with VRPTW

39 views
Skip to first unread message

Simone Mazzieri

unread,
Feb 21, 2026, 12:40:53 PM (14 days ago) Feb 21
to or-tools...@googlegroups.com
Hi,

I am writing to request guidance on the best approach for a logistics optimization problem I am currently addressing using OR-Tools.

I need to schedule delivery and pickup services for a fleet of vans over a multi-day horizon (approximately 3 days). My scenario involves about 100 services per day, and I need to account for the following constraints and requirements:

  - Multi-day Planning: Efficiently managing services across a 72-hour window.
  - Capacity & Time Windows: Respecting the maximum weight capacity of the vans and specific time windows for each location, including lunch breaks/closures of the sites being served.
  - Service Deadlines: Each service has a specific expiration date that must be respected.
  - Cost Minimization: The primary objective is to minimize overall operational costs.
  - Determinism: I am looking for a way to achieve deterministic results, ensuring that the same input consistently produces the same output.
  - Explainability: I require a solution that is "explainable" or easy to interpret for stakeholders.

Given these parameters, could you recommend whether the VRPTW (Vehicle Routing Problem with Time Windows) library is the most suitable tool, or if a different modeling approach within OR-Tools would be more effective for this scale and complexity?

Thank you for your time and for any insights or documentation you can provide.

Best regards,

Simon

Laurent Perron

unread,
Feb 21, 2026, 1:39:29 PM (14 days ago) Feb 21
to or-tools-discuss
Have you looked at examples? At the doc. 

The only answer is yes, but you will have to code a lot of features.

--Laurent


--
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 visit https://groups.google.com/d/msgid/or-tools-discuss/CAGip0Na7pZzL1%3DOgTHmqjECUt85nSKsrDvSW0mtZmvyWMkOFsQ%40mail.gmail.com.

Priidik Vilumaa

unread,
Feb 23, 2026, 3:06:18 AM (12 days ago) Feb 23
to or-tools-discuss
Regarding determinism, I don't think it's easy nor reasonable to chase that. I know business people will pose that as a constraint, but in my opinion you should fight against it. Try asking "would you rather have always the same solution or a better but not necessarily the same solution". LLMs don't give deterministic answers either so perhaps these days people are less bent on deterministic being the gold standard.

Best,
Priidik

Reply all
Reply to author
Forward
0 new messages