Closed frapac closed 2 months ago
Thanks a lot @frapac for the PR. NLPModelsJuMP still doesn't support the quadratic constraints, we lagged behind probably because we did not have a big usage of it. With the new nonlinear JuMP interface, I think we will try to add this quickly. I propose we wait a bit for this PR.
@amontoison it might be a good time to revisit this PR based on what we discussed yesterday?
Yes, I need to work on that since a long time. I could have some bandwidth the end of next week.
@frapac I released NLPModelsJuMP.jl 0.13.0.
We support ScalarQuadraticFunction
now.
@frapac @tmigot With the release 0.13.1 of NLPModels.jl, the new nonlinear API of JuMP is supported. Benoît helped me to fix the last issue today during the Hackathon of JuMP-dev 2024.
Superseded by #339
I had to comment out the tests checking that the formulation in JuMP matches those in ADNLPModels.
Apparently, the problem arises when we have
ScalarQuadraticFunction
in the MOI model. Maybe related to: https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/pull/102