Closed
Description
This PR: #2695 broke FrankWolfe.jl's tests by making NumberOfVariables and ListOfVariableIndices inconsistent.
julia> length(MOI.get(lmo_moi.o, MOI.ListOfVariableIndices())), MOI.get(lmo_moi.o, MOI.NumberOfVariables())
(300, 301)
# underlying model is okay
julia> length(MOI.get(lmo_moi.o.model, MOI.ListOfVariableIndices())), MOI.get(lmo_moi.o.model, MOI.NumberOfVariables())
(301, 301)
I don't have a minimum reproducible example yet, but it seems to happen with a first group of variables created, and then one last add_constrained_variable
Metadata
Metadata
Assignees
Labels
No labels