how to declare demands ?
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 155
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello, i'm really confused about how to declare demands, in the documentation it states that there is a from-to locations pair of values, and in this example i see 3 values inside a single array, i'm confused which one is which:
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]],
demands: [[0, 0, 0], [1, 1, 1], [1, 1, 1]]
};
Let's say i have 3 vehicles with capacity of 15 each.
All goods are loaded from the depot.
and 5 locations to deliver to with the following demands :
location A demands 5
location B demands 3
location C demands 2
location D demands 7
location E demands 10
How can I specify the demands in such case ?
Thank you.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ドキュメントの需要の説明と vrpSolverOpts の例から始め、特にその demands 配列を確認します。各値がロケーションにどのように対応するかを明確にし、issue に記載されている5つの配送先と車両容量について、具体的な例を追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, javascript, node.js
- 領域
- api, documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100