-
Notifications
You must be signed in to change notification settings - Fork 120
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
problem with Convex and new SCS (0.8.1) #466
Comments
I'm guessing this is a compatability issue: SCS v0.8.1 is using MOI v0.10, and Convex only supports MOI v0.9 currently. The package resolver has likely handled this by reverting to a very old version of Convex that doesn't use MOI at all, so there is no declared incompatability between the two, but in practice they aren't interoperable. The current workaround would be to use an older version of SCS until Convex is updated. #454 would update Convex, but I'm not sure if we need code changes or just a compat bump. |
Indeed, I now see that I have been downgraded to Convex v0.12.5... |
I tried a compat bump, but got errors on my first attempt to run Convex. The error message started with
|
Yeah, I bumped #454 and saw that in the logs there too: https://github.com/jump-dev/Convex.jl/runs/4189678272?check_suite_focus=true#step:6:10423. The breaking changes are listed here: https://jump.dev/MathOptInterface.jl/latest/release_notes/#Breaking-changes-in-MOI. I think the issue might be Line 154 in 4fba10c
We also use |
There are a large number of breaking changes in MOI 0.10. This particular line becomes MOI.set(model, MOI.ObjectiveFunction{MOI.VariableIndex}(), objective_index) But there are many more changes than just the removal of SingleVariable. |
Great. Seems to work well. Thanks for your efforts. /Paul S |
Awesome, thanks for checking! I'll tag Convex v0.14.17 once #468 is merged and then we should be able to support both versions of MOI, which will hopefully make things easier. |
Julia 1.6.3, Win 10
example from SCS page:
gives
The text was updated successfully, but these errors were encountered: