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

Upcoming refactoring of JuMP's nonlinear API #104

Closed
odow opened this issue Jun 20, 2022 · 0 comments · Fixed by #113
Closed

Upcoming refactoring of JuMP's nonlinear API #104

odow opened this issue Jun 20, 2022 · 0 comments · Fixed by #113

Comments

@odow
Copy link
Contributor

odow commented Jun 20, 2022

The upcoming release of JuMP v1.2 will break EAGO. Read more here: https://discourse.julialang.org/t/ann-upcoming-refactoring-of-jumps-nonlinear-api/83052

This will affect EAGO because you rely on a lot of internal features that are being deleted:

EAGO.jl/src/EAGO.jl

Lines 23 to 28 in fb9af0c

import JuMP._Derivatives: operators, NodeData
using JuMP._Derivatives: univariate_operators,
univariate_operator_to_id
import JuMP: _SubexpressionStorage
import JuMP._Derivatives: NodeType, UserOperatorRegistry
const JuMPOpReg = JuMP._Derivatives.UserOperatorRegistry

Unfortunately I think this is probably going to be quite a lot of work to update, but the good news is that MOI.Nonlinear has all of these things, but now in stable and documented API. It's probably just a matter of figuring out what is what.

x-ref: jump-dev/JuMP.jl#2955

Please ping me if you have questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant