Skip to content

Add WNOA support for AugmentedPoint and QCQP/SDP conversion (unstable) - #2930

Draft
oafolaya wants to merge 9 commits into
borglab:developfrom
oafolaya:feature/wnoa-augmented-point-unstable
Draft

oafolaya wants to merge 9 commits into
borglab:developfrom
oafolaya:feature/wnoa-augmented-point-unstable

Conversation

@oafolaya

@oafolaya oafolaya commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR builds on #2945 and introduces QCQP conversion for WNOA motion factors using GTSAM's existing QCQP and SDP infrastructure.

For this formulation, we explicitly estimate the position and velocity at measurement times in addition to the original knot states. This allows us to incorporate the squared-range measurements without introducing multi-key equality constraints. Additional trajectory states can still be recovered through GP interpolation after optimization.

The current limitation is that we lose the computational advantage of optimizing only the knot states. A QCQP formulation that directly incorporates interpolated measurements is left for future investigation.

Changes

  • Introduce WnoaQcqpMotionFactor in gtsam_unstable, which inherits from WnoaMotionFactor and implements qcqpFactors() without introducing a dependency from nonlinear to constrained.
  • Extend the existing range-only localization notebook to demonstrate full-GP nonlinear, augmented Lagrangian, monolithic SDP, and chordal SDP optimization.
  • Demonstrate GP interpolation following QCQP/SDP optimization.
  • Add corresponding C++, Python, and MATLAB tests.
  • Update the unstable SLAM documentation.

Validation

Built and tested locally on Windows with MOSEK enabled. The code quality checks and corresponding C++, Python, and MATLAB tests passed, including both SDP formulations.

In the range-only notebook, the full-GP nonlinear, augmented Lagrangian, monolithic SDP, and chordal SDP solutions agree in objective value to six decimal places. Both SDP solvers report primal and dual feasibility, with recovered objectives agreeing with the relaxation objectives to within approximately (10^{-7}) and small equality constraint violations.

No changes were made to the stable motion factors or the core QCQP and SDP infrastructure.

Future Work

  • Investigate QCQP conversion of interpolated measurements without explicitly estimating the intermediate states.
  • Simplify the AugmentedPoint lifting representation by removing the redundant homogeneous coordinate, since homogenization is already handled by the SDP infrastructure.

Dependency

This PR builds on #2945.

@dellaert dellaert left a comment

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.

CI is failing, and you should target the branch of the other PR.

@dellaert

Copy link
Copy Markdown
Member

@oafolaya Ping: merge conflicts and CI failures :-_

@oafolaya

Copy link
Copy Markdown
Contributor Author

@oafolaya Ping: merge conflicts and CI failures :-_

I've submitted #2945 to complete the nonlinear WNOA integration following the merge of #2935. I plan to rebase this PR onto that implementation, remove the redundant changes, and resolve the CI failures and SDP validation.

@oafolaya
oafolaya force-pushed the feature/wnoa-augmented-point-unstable branch from ae89caa to 2a1ff3e Compare December 1, 2026 22:22
@oafolaya

oafolaya commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

CI is failing, and you should target the branch of the other PR.

I've updated #2930 to build on top of #2945 and removed the redundant changes. All three languages have been tested locally, as well as the monolithic and chordal SDP formulations with MOSEK.

Since the branch for #2945 is in my fork, I wasn't able to directly target it from #2930. Would it be fine to leave it targeting develop until #2945 is merged?

For now, the changes specific to #2930 can be viewed here: oafolaya/gtsam@feature/wnoa-augmented-point-nonlinear...feature/wnoa-augmented-point-unstable

@oafolaya
oafolaya marked this pull request as ready for review December 1, 2026 22:40
@oafolaya
oafolaya requested a review from dellaert December 1, 2026 22:40
@oafolaya
oafolaya marked this pull request as draft December 2, 2026 20:20
@oafolaya

oafolaya commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

I'm moving this back to draft for now. After revisiting the existing SE(3) Gaussian process example, I'd like to reconsider the QCQP formulation.

Currently, the QCQP approach introduces position and velocity variables at measurement timestamps. I'd like to investigate whether the squared-range measurements can instead be expressed directly in terms of the neighboring knot states through GP interpolation, as in the nonlinear implementation.

This would avoid introducing additional trajectory states, although the QCQP conversion would need to account for the interpolation relationships. I'll revisit the formulation before proceeding.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants