[FEA] Break load windows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- json
- 領域
- backend
調査の方向性
Read the vehicle breaks documentation and trace how fleet_data.vehicle_breaks is parsed and validated in the cuOpt API. The linked PR #2193 is a proposed example to inspect for context. Determine whether breaks can be constrained by capacity dimensions, then confirm the recommended behavior with an API example or guidance in the issue.
索引モデルが issue の本文から書いたものです。
説明
Context
Vehicle breaks in cuOpt currently allow defining:
- Break window (when the break may occur)
- Break duration (how long the break lasts)
- Break location(s) (where the break may occur)
Feature Request
We are using cuOpt to solve vehicle routing problems and have a requirement that vehicle breaks may only occur when the vehicle is empty (i.e. its active load/capacity is 0).
From the current documentation, my understanding is that break feasibility is based on the break's time window and optional locations, but not on the vehicle's current load. As a result, the solver may schedule a break while the vehicle is still carrying cargo.
Would you consider adding support for load-based break constraints? For example, an option to require that a break can only be scheduled when one or more capacity dimensions have a load of zero.
If this is already possible with the current API, or if there is a recommended modeling approach to achieve the same behavior, I would greatly appreciate any guidance.
Pull Request
I added a PR to give an example of how this could be implemented.
https://github.com/NVIDIA/cuopt/pull/2193
An example shape for the API endpoints looks like:
{
"fleet_data": {
"capacities": [[10, 10]],
"vehicle_breaks": [
{
"vehicle_id": 0,
"earliest": 60,
"latest": 120,
"duration": 15,
"locations": [3],
"load_windows": [[0, 0]]
}
]
}
}
Thank you!
- 主要言語
- Cuda
- スター
- 1.1k
- フォーク
- 249
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 124
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/cuopt のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
NVIDIA/cuopt#2255 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 50/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
a2aproject/a2a-java#1275 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
darktable-org/darktable#22939 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LucasSantana-Dev/Lucky#2951 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
status: waiting-for-triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
spring-projects/spring-integration#11654 ·
メンテナーはふだん 1 日以内に返信