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

Don't add negative load during reloading at depots when calculat… #4521

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

arnabanimesh
Copy link
Contributor

…ing total load delivered by the truck in cvrp_reload

@Mizux Mizux self-requested a review January 27, 2025 09:47
@Mizux Mizux self-assigned this Jan 27, 2025
@Mizux Mizux added Solver: Routing Uses the Routing library and the original CP solver Feature Request Missing Feature/Wrapper Lang: Python Python wrapper issue labels Jan 27, 2025
@Mizux Mizux added this to the v9.12 milestone Jan 27, 2025
@arnabanimesh arnabanimesh changed the title Don't subtract negative load during reloading at depots when calculat… Don't add negative load during reloading at depots when calculat… Jan 28, 2025
@@ -334,31 +334,39 @@ def print_solution(
for vehicle_id in range(data["num_vehicles"]):
index = routing.Start(vehicle_id)
plan_output = f"Route for vehicle {vehicle_id}:\n"
load_var = 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

load_value ? (this is not a variable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Missing Feature/Wrapper Lang: Python Python wrapper issue Solver: Routing Uses the Routing library and the original CP solver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants