Skip to content

Replace @NLconstraint by @constraint - #94

Open
amontoison wants to merge 1 commit into
mainfrom
am/constraints
Open

Replace @NLconstraint by @constraint#94
amontoison wants to merge 1 commit into
mainfrom
am/constraints

Conversation

@amontoison

@amontoison amontoison commented Dec 26, 2025

Copy link
Copy Markdown
Member

close #83

LoadError: Cannot optimize a model which contains the features from both the legacy (macros beginning with `@NL`) and new (`NonlinearExpr`) nonlinear interfaces. You must use one or the other.

It seems that JuMP also replaced @NLexpression by something new that I was not aware of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use @constraint for quadratic constraints

1 participant