-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add bridge from Cumulative to MILP #2398
Comments
It seems the only option is MiniZinc.jl, it is pretty slow though... It would be great if Cumulative (and Path) could also get a MOI bridge |
Correct, see:
What size problem are you solving? |
This looks useful: https://www.diva-portal.org/smash/get/diva2:1041663/FULLTEXT01.pdf |
What is slow exactly ? The time taken by MiniZinc.jl, the time taken by minizinc to reformulate or the time it takes for the MILP solver because the MILP reformulation is not appropriate ? |
I assume this. The cumulative constraint is non-trivial to reformulate. (See PDF above.) |
Thank you for the pdf pointer. I can confirm that MiniZinc.jl performance is unacceptable slow for even tiny cases. |
Originally posted by @odow in #1805 (comment)
Which Solver supports MOI.Cumulative?
I am just starting to use
MOI.Cumulative
, however I am lost about which solver supports it. You mentioned Cbc, HiGHS and Gurobi, but the docs do not mention thatMOI.Cumulative
would be supported by any of these.Actually the Cumulative test explicitly skips those solvers who do not support Moi.Cumulative, so I guess the mentioned test is not run for these.
(I also tried a little example with HiGHS, but it says VectorOfVariables-in-Cumulative is not supported)
Failing Example
which fails with
As there seems to be no bridge, I am really struggling, how to use this constraint.
The text was updated successfully, but these errors were encountered: