RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.17k stars 1.24k forks source link

[ClarabelSolver] Don't declare zero-dimensional cones #21646

Closed RussTedrake closed 1 day ago

RussTedrake commented 4 days ago

In https://github.com/oxfordcontrol/Clarabel.rs/issues/119, they asked about why we declare a NonnegativeConeT(0). I guess it's not wrong, but it's certainly inelegant. This PR avoids writing the zero-dimensional cones.

+@hongkai-dai for feature review, please.


This change is Reviewable