Skip to content

Add bridge attribute for choosing the Cholesky backend#2985

Closed
blegat wants to merge 1 commit intomasterfrom
bl/quadtosoc_attr
Closed

Add bridge attribute for choosing the Cholesky backend#2985
blegat wants to merge 1 commit intomasterfrom
bl/quadtosoc_attr

Conversation

@blegat
Copy link
Copy Markdown
Member

@blegat blegat commented Apr 1, 2026

@odow
Copy link
Copy Markdown
Member

odow commented Apr 1, 2026

I vote no. Let's wait a while to see if we need this. There is no benefit to making the bridge more complicated just for the sake of it.

sqrt_ret = _compute_sparse_sqrt(LinearAlgebra.Symmetric(Q))
Q_sym = LinearAlgebra.Symmetric(Q)
sqrt_ret = if bridge.method !== nothing
_compute_sparse_sqrt(bridge.method, Q_sym)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, adding this attribute would also require us to make these methods public and commit to their API, etc.

@odow
Copy link
Copy Markdown
Member

odow commented Apr 1, 2026

It took 4 years to close #1971 with few, if any, people complaining. I don't think it is a high priority.

@mlubin
Copy link
Copy Markdown
Member

mlubin commented Apr 2, 2026

Agreed this additional complexity seems premature.

@odow
Copy link
Copy Markdown
Member

odow commented Apr 2, 2026

Closing as won't fix. It's nice to know that there is an approach that can work with the bridges, but I don't think that now is the time to add it.

@odow odow closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants