Hi Vincent,
Thanks for your response, I apologize for my late reply, unfortunately your helpful response landed in my spam folder.
I have indeed tried making the stops optional, this seems to have made no difference.
The callback does indeed return the proper times and all time units match. I have not added capacity constraints yet.
I've spent some time today trying to extract the issue from my test project to reduce it to the bare essentials.
This has led to a reproducible C# programs as short as I can make it.
This means it is still a bit lengthy due to the static data at the bottom, sorry.
It has the following scenarios:
70 stops, vehicles time window from 00:00 until 12:00, no disjuctions: Works, uses 2 out of 20 vehicles.
71 stops, vehicles time window from 00:00 until 12:00, no disjuctions: No solution found, hangs until time limit.
70 stops, vehicles time window from 02:00 until 12:00, no disjuctions: No solution found, hangs until time limit.
71 stops, vehicles time window from 00:00 until 12:00, disjuctions on all stops: No solution found, hangs until time limit.
The original problem used 150 stops (including start- and end-depot for each vehicle).
Can you see anything I'm doing wrong (or dare-I-say-it or-tools is)? Would you like me to file an issue?
Thanks for your time once again.
Best regards,
Govert