-
-
Notifications
You must be signed in to change notification settings - Fork 480
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 optional package cvxpy, update cylp, add CVXPY MIP backend #34251
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
Last 10 new commits:
|
Changed author from Matthias Koeppe to Matthias Koeppe, Andrey Belgorodski |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
I am not sure, but it feels like if New commits:
|
comment:17
Here on this ticket, there's no SDP solver backend |
comment:18
We had that on #31962, but I have split out the present ticket |
Attachment: cvxpy.log |
comment:58
After rebasing on develop, I now get the attached errors when running Don't know why the segfault occurred before but the new errors look minor now |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
comment:64
We'll have to merge this with #21003, which touches the same files and will likely be in the next beta |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:68
without this ticket I can do this
this ticket just hangs (probably O(n2) while |
comment:69
Yes, we should definitely improve this |
comment:70
Replying to @sheerluck:
I don't see where in |
comment:71
Replying to Dima Pasechnik:
|
and now I can link a range of lines |
Removed branch from issue description; replaced by PR #35120 |
I'd suggest that we improve performance in follow-up PRs |
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> ### 📚 Description Fixes #34251 <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If it resolves an open issue, please link to the issue here. For example "Closes #1337" --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] I have made sure that the title is self-explanatory and the description concisely explains the PR. - [x] I have linked an issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open pull requests that this PR logically depends on --> <!-- - #xyz: short description why this is a dependency - #abc: ... --> URL: #35120 Reported by: Matthias Köppe Reviewer(s): Dima Pasechnik
(split out from #31962)
We add
cvxpy
for disciplined convex programming and extensions as an optional package.We add a new MIP backend
solver="CVXPY"
. Usingsolver="CVXPY/ECOS"
,solver="CVXPY/GLPK"
, etc., CVXPY can be asked to use a specific solver.When also
cylp
is installed (from #33487, upgraded here), the new solver backend"CVXPY/CBC"
becomes the default (unless Gurobi or CPLEX are available), thus replacing the similar functionality of the CBC backend provided bysage_numerical_backend_coin
.Details about dependencies: Requirements listed in
cvxpy's setup.py:
So the new dependencies are:
In addition, osqp's requirements.txt lists:
numpy >= 1.7
,scipy >= 0.13.2
,qdldl
which adds:
Finally, qldl-python depends on pybind11 (already an SPKG)
See also:
Follow-ups:
sage_numerical_backends_coin
, Upgrade optional package cbc to 2.10.7Depends on #34228
CC: @dimpase @yuan-zhou @sheerluck @dcoudert @seblabbe @maxale @kiwifb @isuruf @tkralphs
Component: packages: optional
Author: Matthias Koeppe, Andrey Belgorodski
Reviewer: Martin Pépin
Issue created by migration from https://trac.sagemath.org/ticket/34251
The text was updated successfully, but these errors were encountered: