VRP with different vehicle types using or-tools

I’m trying to optimize the best routes VRP with OR-Tools. I couldn’t find the right function in the documentation.  CASE: Some customers only accept pickup trucks, some accept only trucks, some accept …

ORTools add constraint on visited nodes

I want to know if it is possible to set a traveling constraint for different routes, using ORTools VRPTWs problem. For example, if I have a list of nodes A, B, C, D, E Where C cannot be routed with D …

Adding an or-statement to an OR-Tools constraint (CP-SAT solver)

So I’m trying to build a scheduling tool in OR-tools similar to the employee scheduling example. However, in my case there are ten shifts to cover, and I would like to prevent people from having a ten …

OR-Tools MIP Solver – Defining an objective in terms of int, instead of IntVar

I am trying to define an objective function which uses the current value of a variable, as an integer, for computation (as shown below): def foo(arg1, arg2, arg3): return arg1 – arg2 + arg3 …