-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
Test failure on Julia 1.9 #315
Comments
So I added this method: # TODO(odow): why is this needed for v1.9?
function JuMP.check_belongs_to_model(
v::InfiniteVariableRef,
model::InfiniteModel,
)
if JuMP.owner_model(v) !== model
throw(JuMP.VariableNotOwned(v))
end
return
end Which is just the method it was trying to call in JuMP: So this feels like a bug in Julia. But it looks like you're testing on nightly, so I don't understand what happened. |
I came to the same conclusion (see #314 (comment)). I also have no idea why this is happening. And I checked the last few nightly runs, they all ran without issue... |
So perhaps it was a bug that was fixed and not back ported to 1.9? |
This seems the most plausible. Or maybe it's a bug in Julia that only shows with the new version of JuMP for some reason... |
Trying to debug jump-dev/JuMP.jl#3350 (comment), using my printing PR here: #314.
But I'm going crazy.
I've edited the code in
point_variables.jl
to print what's happening:When the function is called. No error is thrown. When you eval in the REPL, an error is thrown. Ideas???
The text was updated successfully, but these errors were encountered: