Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Jan 30, 2025
1 parent bf87fd8 commit 951263f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ortools/routing/samples/cvrp_reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def print_solution(
# capacity dimension TransitVar is negative at reload stations during replenishment
# don't want to consider those values when calculating the total load of the route
# hence only considering the positive values
load_value += max(0, capacity_dimension.GetTransitValue(previous_index, index, vehicle_id))
load_value = max(0, capacity_dimension.GetTransitValue(previous_index, index, vehicle_id))
time_var = time_dimension.CumulVar(index)
plan_output += (
f" {manager.IndexToNode(index)} "
Expand Down

0 comments on commit 951263f

Please sign in to comment.