-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Clarify how to address ECOS_DEP_DEPRECATION_MSG FutureWarning added in version 1.5 #2442
Comments
Hi @cjerdonek! ECOS will remain a supported solver even after the next release. So come CVXPY 1.6 and you reinstall your project, without having CVXPY pinned. Then there are two sencarios
To make the warning go away in 1.5, you can either try the Clarabel solver (we'd be curious to hear if it doesn't work well in your case), or you can filter the warning until 1.6 is released. |
Thanks, @phschiele! I appreciate the prompt reply. It might be worth clarifying in the text of your |
I posted PR #2454 to address this issue. |
Hi, I recently upgraded CVXPY to 1.5.1 and would like clarification on the
ECOS_DEP_DEPRECATION_MSG
FutureWarning
it's now showing (added in PR #2388) and how to address it:When you say "add an explicit dependency on ECOS," do you mean stop passing
solver='ECOS'
toproblem.solve()
and use ECOS directly, or do you just mean to add the ECOS package as an explicit installation dependency to the project?If the latter, it's not clear to me how CVXPY would detect that it's been added, so it's not clear to me how to make the warning go away if you'd like to keep passing
solver='ECOS'
. If the former, it sounds like ECOS won't be supported at all and not just that it won't be installed by default (though I'm guessing this isn't what you mean). Or do you mean something else entirely? Thanks!The text was updated successfully, but these errors were encountered: