-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example of a Vehicle Routing Problem with Uninterruptible Breaks #595
Conversation
Thanks for your pull request. t looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I have signed it! |
CLAs look good, thanks! |
Hi, It seems "break" feature has been fixed internally, so I hope for v6.9 to bump routing library to our current internal code... BTW I still keep this PR "open" until break is updated and this PR become obsolete. |
So it was a bug indeed. Thank you for confirmation! I am pleased that the work I did helped a little. It is of course always better to fix the root cause rather than rely on the workaround my PR provides. Feel free to close the PR once it is best. |
Dear Mateusz, solver()->AddConstraint(solver()->MakeIntervalVarRelation(current_interval, Solver::STARTS_AFTER_END, last_interval)); constraints? |
An example of the Vehicle Routing Problem with Time Windows and Breaks. All breaks are mandatory and must be performed without interruptions. Since breaks without interruptions are not available off-the-shelf a custom constraint is developed. A warning message is printed every time vehicle's break overlaps with a visit.
Workaround for the issue: #569