-
Notifications
You must be signed in to change notification settings - Fork 40
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
Confused about the problems supported in Alpine #233
Comments
What you are observing is expected to be so. Alpine does not support integer variables at this point. In case you are still interested to solve an integer variable problem, any integer-valued variable can be reformulated as a problem with binary variables. For example, if
With the above reformulation, you could use Alpine. To reduce the confusion, will drop the |
Ah, that's an interesting point, though if it can't be done automatically it seems pretty cumbersome to do it manually. Do you think that can be something handled here? I'll close this issue since the point is resolved |
We could have a bridge for the case that the variable bounds are also finite. |
Yes - at this point, a large bound is added for every unbounded variable, with a warning so that it could build the relaxations. |
Describe the bug
I got this when trying to solve the https://github.com/lanl-ansi/Alpine.jl/blob/master/examples/MINLPs/integer.jl#L122 problem in the examples through the MOI interface (not the jump implementation there directly), am I doing something wrong?
The text was updated successfully, but these errors were encountered: