Add FromQcqpValue (Rot2/Rot3) and ExtractQcqpValues helpers in feature/convert_to_QCQP#2548
Merged
dellaert merged 1 commit intoMay 26, 2026
Conversation
…ct variables from the Burer–Monteiro solution. The vectorized form is not yet supported.
Member
|
D=1 will be used by Avinash to support vectorized/homogenized QCQP conversions anyway :-) |
|
Yes, I have a couple of the homogenization fixes here: #2549 but still WIP |
520162e
into
borglab:feature/convert_to_QCQP
34 of 36 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an extract path from the rounded BM solution to the QCQP variable traits, so matrix-form QCQP values can be projected back into typed
Rot2/Rot3. Needed by the Burer–Monteiro / Riemannian Staircase solver in the follow-up PR, which returns a rank-dmatrix. A step toward type-agnostic extraction.Changes
Add
FromQcqpValueforRot2andRot3(viaRot::ClosestTo), and addExtractQcqpValuesinQcqpProblem.Notes
D = 1) is intentionally unsupported byFromQcqpValue— one column of a rotation matrix doesn't determine the rotation. Astatic_assertmakes this explicit at the call site.