Gurobi.jl
Gurobi.jl copied to clipboard
Gurobi.jl doesn't support `MOI.set(model, MOI.SolutionLimit(), nr_solutions)`
I am trying to set a solution limit like this:
model = Model(Gurobi.Optimizer)
MOI.set(model, MOI.SolutionLimit(), 4)
Which returns:
MathOptInterface.UnsupportedAttribute{MathOptInterface.SolutionLimit}: Attribute MathOptInterface.SolutionLimit() is not supported by the model.
I believe Gurobi should support this feature?
This was only added to MathOptInterface v1.21.0. No one has added support for it to Gurobi.jl yet. PRs accepted.