[BUG] Java: variable objective coefficients are ignored after setObjective
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Read the Java bindings' Problem objective construction and the disabled reproductions named in #2219: NativeEdgeCaseTest.aVariableCoefficientChangedAfterSettingTheObjectiveChangesTheSolve and NativeEdgeCaseTest.aVariableAddedAfterSettingTheObjectiveKeepsItsCoefficient. Trace how setObjective and variable coefficients reach the solve, then enable or run those tests. Done means the solve uses current coefficients, or coefficient changes after setObjective are rejected.
索引モデルが issue の本文から書いたものです。
説明
In the Java bindings, Problem builds the objective from the setObjective expression once an objective is set, so later changes to variable objective coefficients are ignored by the solve.
x.setObjectiveCoefficient(...)aftersetObjectivedoes not change the next solve.- A variable added after
setObjectivewith a nonzero coefficient has that coefficient ignored.
Expected: the solve uses the current variable coefficients, or setting a coefficient after setObjective is rejected.
Disabled tests that reproduce both (in #2219):
NativeEdgeCaseTest.aVariableCoefficientChangedAfterSettingTheObjectiveChangesTheSolveNativeEdgeCaseTest.aVariableAddedAfterSettingTheObjectiveKeepsItsCoefficient
🤖 Generated with Claude Code
- 主要言語
- Cuda
- スター
- 1.1k
- フォーク
- 249
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 123
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/cuopt のほかの issue
-
[BUG] Constraint validation reports CSR offset count as the number of rows対応中かも @0z5a が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ci: pr-test-summary job shows red when the GitHub API returns persistent 5xx errors対応中かも @0z5a が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
[BUG] Dataset downloader reports success and replaces data after a failed download対応中かも @0z5a が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingオープンe2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
devswha/herdr-web-ui#2884 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
.NET good first issue testing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
HelloblueAI/HelloblueGK#311 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信