-
Notifications
You must be signed in to change notification settings - Fork 62
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
Assertion error on CPLEX callbacks #312
Comments
This appeared when using lazy callbacks |
I seem to have another version of the bug (running the same code with CPLEX 12.08), where the error is:
|
This might be a Julia 1.5 change? |
potentially yes, I will rerun it using 1.4 and see if it still errors |
Ok the model is still running and would have errored by now, so I confirm the bug happens on 1.5 only. Sadly still no MWE I could build |
Instead of using a tuple, we probably need to define a type with an appropriate CPLEX.jl/src/cpx_generic_callbacks.jl Lines 48 to 53 in 02d4ef5
I don't know what it means to pass |
do we need to pass the model? Otherwise only passing a function as Ptr{CVoid} might work? |
@matbesancon can you try #316? You'll need 12.10, however. |
Yes I should be able to give it a try this weekend |
I got the error on two distinct Debian machines. I am on CPLEX 12.08, which may cause the error?
I haven't managed to get a MWE yet, but the bug appears to be on code that was running before.
The breaking part is in cpx_generic_callback.jl:
Version info:
CPLEX v0.6.5
julia 1.5
JuMP 0.21.3
MOI 0.9.14
Edit: bug also observed with CPLEX 12.09
The text was updated successfully, but these errors were encountered: