Provide capacities per vehicle at each location in output
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 155
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
We should output the capacity each vehicle has before / after servicing a location.
Use-case: being able to tell the vehicle's load at a specific time and place.
Implementation:
- When an assignment could be found: for each vehicle walk over all location indices in the route
- For each location index store the accumulated capacity domain at this location for the vehicle
const auto* loadVar = capacityDimension.CumulVar(index);
assignment->Value(loadVar)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the assignment output path and the vehicle route traversal described in the issue. Inspect how capacityDimension.CumulVar(index) is read for each location index, then verify that the output includes each vehicle's capacity before and after servicing every location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100