hdavid16 / DisjunctiveProgramming.jl

A JuMP extension for Generalized Disjunctive Programming
MIT License
27 stars 3 forks source link

Upcoming refactoring of JuMP's nonlinear API #47

Closed odow closed 1 year ago

odow commented 2 years ago

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

The problem is the use of internal functions and structs here: https://github.com/hdavid16/DisjunctiveProgramming.jl/blob/a51b0b93f66965c2b3e394fd2c7d01c578f306c6/src/constraint.jl#L145-L151 Unfortunately, I don't know if we have a safe, publicly documented way of doing this.

x-ref: https://github.com/jump-dev/JuMP.jl/pull/2955

Please ping me if you have questions.