Time windows array must include depot?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 155
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
In your example..
```javascript
var vrpSolverOpts = {
numNodes: 3,
costs: [[0, 10, 10], [10, 0, 10], [10, 10, 0]],
durations: [[0, 2, 2], [2, 0, 2], [2, 2, 0]],
timeWindows: [[0, 9], [2, 3], [2, 3]], //<<<< here
demands: [[0, 0, 0], [1, 1, 1], [1, 1, 1]]
};
```
`timeWindows` variable is including a value for the depot index, it must be a full time window? It is represented as hour?
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
The issue points to the inline JavaScript example; start by tracing how the node-or-tools API consumes the timeWindows array and checking the corresponding OR-Tools binding behavior. Done means documenting whether the depot needs an entry, what that entry represents, and whether the values are hours.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100