Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JuMP syntax to use the new nonlinear interface #321

Closed
wants to merge 2 commits into from

Conversation

frapac
Copy link
Contributor

@frapac frapac commented Feb 29, 2024

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:
JuliaSmoothOptimizers/NLPModelsJuMP.jl#102

@tmigot
Copy link
Member

tmigot commented Mar 5, 2024

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.

@tmigot tmigot self-assigned this Mar 5, 2024
@tmigot tmigot self-requested a review March 5, 2024 00:39
@gdalle
Copy link

gdalle commented May 23, 2024

@amontoison it might be a good time to revisit this PR based on what we discussed yesterday?

@amontoison
Copy link
Member

Yes, I need to work on that since a long time.
I could have some bandwidth the end of next week.

@amontoison amontoison mentioned this pull request Jun 21, 2024
@amontoison
Copy link
Member

@frapac I released NLPModelsJuMP.jl 0.13.0.
We support ScalarQuadraticFunction now.

@amontoison
Copy link
Member

@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.

test/runtests.jl Outdated Show resolved Hide resolved
@tmigot
Copy link
Member

tmigot commented Sep 7, 2024

Superseded by #339

@tmigot tmigot closed this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants