Skip to content

Upcoming refactoring of JuMP's nonlinear API #104

@odow

Description

@odow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions