Skip to content

[solvers] Name quadratic cost when PSD decomposition fails - #24932

Open
castor639 wants to merge 1 commit into
RobotLocomotion:masterfrom
castor639:quadratic-cost-psd-error
Open

[solvers] Name quadratic cost when PSD decomposition fails#24932
castor639 wants to merge 1 commit into
RobotLocomotion:masterfrom
castor639:quadratic-cost-psd-error

Conversation

@castor639

@castor639 castor639 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Add math::MaybeDecomposePSDmatrixIntoXtransposeTimesX that returns error details instead of throwing, and use it from conic solvers so failures identify the offending QuadraticCost.

Fixes #20892.


This change is Reviewable

Add math::MaybeDecomposePSDmatrixIntoXtransposeTimesX that returns error
details instead of throwing, and use it from conic solvers so failures
identify the offending QuadraticCost.

Fixes RobotLocomotion#20892.
@ggould-tri ggould-tri added the component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries label Sep 1, 2026

@ggould-tri ggould-tri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+(component: mathematical program) Assigning +a:@hongkai-dai as area lead for mathematical programs; feel free to re-delegate.

@ggould-tri made 1 comment.
Reviewable status: LGTM missing from assignee hongkai-dai, needs platform reviewer assigned, needs at least two assigned reviewers, missing label for release notes (waiting on hongkai-dai).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: mathematical program Formulating and solving mathematical programs; our autodiff and symbolic libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opaque Error Message For Quadratic Cost

3 participants