Pymanopt: A Python Toolbox for Optimization on Manifolds using Automatic Differentiation

James Townsend, Niklas Koep, Sebastian Weichwald
3/10/2016
321 citations
cs.MScs.LGmath.OC

Official code: pymanopt/pymanopt (916 stars, Python, BSD-3-Clause, last commit 2026-11-13).

Abstract

Optimization on manifolds is a class of methods for optimization of an objective function, subject to constraints which are smooth, in the sense that the set of points which satisfy the constraints admits the structure of a differentiable manifold. While many optimization problems are of the described form, technicalities of differential geometry and the laborious calculation of derivatives pose a significant barrier for experimenting with these methods.

Show full abstract

We introduce Pymanopt (available at https://pymanopt.github.io), a toolbox for optimization on manifolds, implemented in Python, that---similarly to the Manopt Matlab toolbox---implements several manifold geometries and optimization algorithms. Moreover, we lower the barriers to users further by using automated differentiation for calculating derivative information, saving users time and saving them from potential calculation and implementation errors.

View on arXivView PDF

Code Implementations(1)

pymanopt/pymanoptOfficial100%
BSD-3-Clause

Python toolbox for optimization on Riemannian manifolds with support for automatic differentiation

916173Python, HTMLNov 2, 20152 weeks agoBSD-3-Clause
manifoldoptimization

Similar Papers

Cite this paper

@article{townsend2016pymanopt,
  title  = {Pymanopt: A Python Toolbox for Optimization on Manifolds using Automatic Differentiation},
  author = {James Townsend and Niklas Koep and Sebastian Weichwald},
  year   = {2016},
  eprint = {1603.03236},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1603.03236}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1603.03236.svg)](https://codeofpaper.com/paper/1603.03236)

Discussion