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
model = Model() @variable(model, b, Bin) @variable(model, x) @constraint(model, b => {x in MOI.EqualTo(1.0)})
gives
ERROR: LoadError: UndefVarError: `##3910` not defined Stacktrace: [1] macro expansion @ ~/.julia/packages/JuMP/W1IDA/src/macros/@constraint.jl:171 [inlined] [2] macro expansion @ ~/.julia/packages/JuMP/W1IDA/src/macros.jl:393 [inlined]
The hygiene seems ok if you do x == 1 but not with the in syntax
x == 1
in
The text was updated successfully, but these errors were encountered:
Hmm. Yeah. I don't think we considered this, but we should throw a nicer error message.
Sorry, something went wrong.
Simple fix: #3813
Successfully merging a pull request may close this issue.
gives
The hygiene seems ok if you do
x == 1
but not with thein
syntaxThe text was updated successfully, but these errors were encountered: