[FEA] Break load windows

オープン
#2,239 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

feature request

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/cuopt のほかの issue

NVIDIA/cuopt の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。