jump-dev / jump-dev/MathOptInterface.jl
Dimension of SOS sets
- Langage dominant
- Julia
- Étoiles
- 504
- Forks
- 101
- Merge moyen
- 6 h 26 min
- PR mergées (30 j)
- 22
Description
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...
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia
- Domaine
- api
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- Active
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100