Skip to content

Commit

Permalink
Mention max_distance violation in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Jan 15, 2024
1 parent 5e340d4 commit 1622a94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ Possible violation causes are:
- "precedence" if a `shipment` precedence constraint is not met (`pickup` without matching `delivery`, `delivery` before/without matching `pickup`)
- "missing_break" if a vehicle break has been omitted in its custom route
- "max_travel_time" if the vehicle has more travel time than its `max_travel_time` value
- "max_distance" if the vehicle has a longer travel distance than its `max_distance` value
- "max_load" if the load during a break exceed its `max_load` value

Note on violations: reporting only really makes sense when using `-c`
Expand Down

0 comments on commit 1622a94

Please sign in to comment.