-
Notifications
You must be signed in to change notification settings - Fork 41
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
Arbitary precision for PSD Cone #190
Comments
I would also like this. Currently the issue is that COSMO uses raw LAPACK syevr for eigendecomposition. It seems straightforward to replace this with a pure Julia alternative but presumably there was some reason for not doing this in the first place? |
My recollection is that we use a call to the lapack which allocates vectors of float and int work vectors on every call. For COSMO this is not ideal since the operations on cones, particularly projections to the PSD cone, dominate the computation time. In |
I note that very recently symmetric eigen! was added to GenericLinearAlgebra: JuliaLinearAlgebra/GenericLinearAlgebra.jl#145 As a user, I expect COSMO to be slow when using arbitrary precision. Therefore I maybe don't mind if there are lots of allocations in this case. Obviously we want to keep the performant version for Float64 and Float32, but perhaps those can be specialisations of _syevr! and the general version calls GenericLinearAlgebra? |
I'm sorry, the only thing I added to GenericLinearAlgebra was the missing dispatch for Also, there is already an open PR adding support for arbitrary precision types: #136 |
Is your feature request related to a problem? Please describe.
The positive semidefinite cone does not yet allow arbitrary precision types. However, it seems we now have a blueprint in Clarabel.jl on how this can be done. We can probably port the logic to COSMO's projection method.
The text was updated successfully, but these errors were encountered: