-
Notifications
You must be signed in to change notification settings - Fork 24
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
VectorOfVariable with indicator does not detect binary variable #191
Comments
SCIP should set |
not sure I follow, if we set |
Yes, I think we would have to have to keep a copy of the explicit user-defined variable type/constraint. This is already done partially, see MOI_wrapper.jl, but I don't remember the exact use case for that. A similar case is that of second-order cone constraints. In SCIP, it's Maybe the friendliest way is to "fix" the bounds and variable types to meet SCIP expectations, but send warnings. This requires additional storage of variable information. |
I can't seem to reproduce the incident anymore, neither with JuMP nor MOI directly. |
From jump-dev/JuMP.jl#2167
When copying the indicator constraint, the binary is sometimes not already set (comes from
copy_to
not being ordered).MWE from JuMP:
Tricky to reproduce without it because it is tied to each copying implementation
The text was updated successfully, but these errors were encountered: