You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JuMP v1.15 introduced a new interface for nonlinear optimization. This update improves the optimization process by eliminating the need for @NL macros and making the composition of objectives and constraints simpler. It is no longer necessary to separate them into linear and nonlinear versions.
JuMP v1.15 introduced a new interface for nonlinear optimization. This update improves the optimization process by eliminating the need for
@NL
macros and making the composition of objectives and constraints simpler. It is no longer necessary to separate them into linear and nonlinear versions.PowerModels v0.21 has been updated to this new interface. See lanl-ansi/PowerModels.jl#901.
Such a change should also be applied to PowerModelsACDC.
Edit JuMP and PowerModels lines in
Project.toml
toRename the
@NL
macros:@NLobjective
-->@objective
;@NLconstraint
-->@constraint
;@NLexpression
-->@expression
.While making these changes, review the code for any sections that differentiate between NL and non-NL models, and simplify them. Examples: https://github.com/lanl-ansi/PowerModels.jl/pull/901/files.
The text was updated successfully, but these errors were encountered: