jump-dev / jump-dev/MathOptInterface.jl
Dimension of SOS sets
- 主要言語
- Julia
- スター
- 504
- フォーク
- 101
- 平均マージ
- 6時間 26分
- マージ済み PR(30日)
- 22
説明
Should we forbid dimension=0 for SOS sets? What does this even mean?
You could argue that throwing an error on `MOI.SOS1(Float64[])` is a breaking change, but I don't really set a good reason why anyone would ever want to do it. There's also an argument for making `dimension > 1` for SOS1, and `dimension > 2` for SOS2...
```Julia
julia> using JuMP
julia> model = Model();
julia> @constraint(model, VariableRef[] in SOS1())
[] ∈ MathOptInterface.SOS1{Float64}(Float64[])
```
Discuss...
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with the MOI.SOS1(Float64[]) example and the SOS1/SOS2 dimension questions in the issue. Trace how these sets are represented and constructed, then clarify the intended validity rules and add coverage showing the resulting behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- julia
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100