Skip to content
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

replace CapSub with CapAdd for StartMin value #4261

Closed

Conversation

varshneydevansh
Copy link

What this PR fixes?

Fix VRP with Breaks Constraint Calculation in Routing Solver.

Explanation -

This PR solves a minor bug where we had CapSub instead of CapAdd.

The incorrect use of CapSub resulted in a weaker constraint, potentially allowing unrealistic scheduling in vehicle routing problems with breaks. By using CapAdd, we correctly adjust the start time after a break, ensuring that the solver's constraints reflect actual break intervals more accurately.

@lperron
Copy link
Collaborator

lperron commented Jun 5, 2024

Hi. This is fixed on main.

@lperron lperron closed this Jun 5, 2024
@Mizux Mizux added this to the v9.12 milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants