Replies: 5 comments 10 replies
-
That sounds fine to me, other than we should make sure we don't slow down QP canonicalization when we unify the QP and conic + quadratic objective paths. |
Beta Was this translation helpful? Give feedback.
-
I fully support this. We'd probably want to keep it in an experimental namespace for a while though. |
Beta Was this translation helpful? Give feedback.
-
I definitely don’t want a proprietary format beyond pickled data
structures. Lots of people have worked hard on this and no one will benefit
from yet another file format.
…On Fri, Jun 30, 2023 at 10:08 AM Steven Diamond ***@***.***> wrote:
Ok, maybe the proprietary format would just be pickle. I don't think we
want to design our own format.
—
Reply to this email directly, view it on GitHub
<#2167 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRLIFBVN7OZCHYZTV3ALM3XN4B2JANCNFSM6AAAAAAZY7W2WE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@phschiele Thank you for starting this discussion! In my specific case, I'd like to convert a DCP into conic form, apply a few change of variables to the conic problem, and then solve the modified conic problem. Specifically, I'd like to define my problem as I've tried If it's useful today I can put together a simple example and my best effort solution to this problem. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I think the get_solution_data function is a bit too powerful and its name is somewhat misleading. Imho it would be nice if we isolate a function called canonicalize which essentially fills up the cache with the canonical form. It could literally take a few lines from the get_solution_data and get_solution_data could call the canonicalize function. For the backend it would be great if we could use an enum to simplify switching between those backends? @phschiele @SteveDiamond |
Beta Was this translation helpful? Give feedback.
-
Hi,
I wanted to start a discussion to define a path that allows us to define a unified and stable API for exposing CVXPY's conic (or potentially other standard) forms. This is useful in many projects (at least 4 that I know about) and was brought up independently today by @tschm and @TobiaMarcucci.
Here is where we are right now:
Here is a rough plan of how we could go about this:
experimental
namespace, expose this standard form to users. All necessary ingredients should be available in theParamProb
classes. Perhaps, this would be a good time to unify the code in this area, now that the joint parent of the conic program with a linear objective and quadratic program exists.Happy to hear your thoughts on this!
Beta Was this translation helpful? Give feedback.
All reactions