The upcoming release of JuMP v1.2 will break Complementarity. Read more here: https://discourse.julialang.org/t/ann-upcoming-refactoring-of-jumps-nonlinear-api/83052
The breakage looks pretty minor, and is mostly hacks that were added to delete nonlinear constraints:
|
# Cleanup. Remove all dummy @NLconstraints added, |
|
# so that the model can be re-used for multiple runs |
|
m.nlp_data.nlconstr = [] |
x-ref: jump-dev/JuMP.jl#2955
Please ping me if you have questions.
The upcoming release of JuMP v1.2 will break Complementarity. Read more here: https://discourse.julialang.org/t/ann-upcoming-refactoring-of-jumps-nonlinear-api/83052
The breakage looks pretty minor, and is mostly hacks that were added to delete nonlinear constraints:
Complementarity.jl/src/mcp.jl
Lines 235 to 237 in c1afb67
x-ref: jump-dev/JuMP.jl#2955
Please ping me if you have questions.