JuliaSmoothOptimizers / NLPModelsJuMP.jl

Create NLPModels with JuMP
Other
34 stars 8 forks source link

MOI Optimizer #152

Closed blegat closed 1 year ago

blegat commented 1 year ago

I am wondering whether it would be possible to make something like this work

model = Model(NLPModelsJuMP.Optimizer)
set_attribute(model, "solver", percival)
# ...
optimize!(model)

For this, we would need to parse the whole model at the MOI level but looking at the code, it doesn't seem to hard to change this.

Let me know what you think.

amontoison commented 1 year ago

I like the idea @blegat!