Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
piazzi 0.1.0a2.dev6+g61ea64851
piazzi 0.1.0a2.dev6+g61ea64851
  • Getting started
  • User guide
    • Solvers
    • Least squares and robust losses
    • Manifolds: poses and rotations
    • Large sparse problems
    • Devices and precision
    • torch.optim optimisers
    • Third-party backends
  • Examples
    • Robust nonlinear regression with piazzi
    • The Rosenbrock function with piazzi
    • Large-scale bundle adjustment with piazzi and SE(3) cameras
  • API reference
    • High-level interfaces
    • Method-specific solvers
    • Results and callbacks
    • Robust losses
    • Manifolds and Lie groups
    • Linear solvers
    • SciPy backend
    • PyPose backend
    • pytorch-minimize backend
  • Related work
  • Contributing
  • Changelog

Project links

  • GitHub repository
  • Issues
Back to top
View this page
Edit this page

Related work¶

piazzi builds on ideas from these projects, and one of them may suit your problem better:

  • Ceres Solver: Google’s C++ library for nonlinear least squares and general unconstrained optimisation. It offers trust-region (Levenberg-Marquardt, dog-leg) and line-search methods, robust loss functions and sparse solvers for large bundle-adjustment problems. The name piazzi is a nod to it.

  • Theseus: a PyTorch library for differentiable nonlinear least squares (Gauss-Newton, Levenberg-Marquardt, dog-leg). It runs batched and sparse solves and backpropagates through the optimiser, so you can embed it as a layer in a network.

  • PyPose: a PyTorch library for robotics, with Lie-group types (SO3, SE3 and others) and second-order optimisers such as Gauss-Newton and Levenberg-Marquardt, including robust kernels.

  • torch.optim.LBFGS: PyTorch’s built-in L-BFGS, with an optional strong-Wolfe line search. It uses the torch.optim closure interface; piazzi can run it through piazzi.minimize() (see torch.optim optimisers).

  • nlesc-dirac/pytorch: improved L-BFGS and L-BFGS-B optimisers for PyTorch, with line searches and support for full-batch and stochastic use.

  • pytorch-minimize (torchmin): scipy.optimize.minimize-style solvers for PyTorch (BFGS, L-BFGS, conjugate gradient, Newton and trust-region methods), plus least_squares.

  • scipy.optimize: the reference CPU implementations, including least_squares (trust-region reflective, dog-box, MINPACK Levenberg-Marquardt) and minimize (L-BFGS-B and others). The notebooks use it, through Third-party backends, to check piazzi’s results.

Next
Contributing
Previous
pytorch-minimize backend
Copyright © CAI4CAI
Made with Sphinx and @pradyunsg's Furo