We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
Thanks for notifying me. I'll watch the change closely.
Sorry, something went wrong.
Instead of deleting the nonlinear constraints, we can just keep track of how many constraints have been added:
+ offset = get(m.ext, :MCP_EXPRESSIONS_ADDED, 0) + for i in (offset+1):n + JuMP.@NLconstraint(m, mcp_data[p[i]].F == 0) + end + m.ext[:MCP_EXPRESSIONS_ADDED] = n
But that doesn't get us to v1.2.0, because embedding macros in macros like this:
Complementarity.jl/src/mpec.jl
Line 265 in 1cb30ad
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: