Skip to main content

A Python toolbox for optimization on closed Riemannian manifolds

Project description

Welcome to CDOpt

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

Riemannian optimization is a powerful framework to tackle nonlinear optimization problems with structural equality constraints. By transforming these Riemannian optimization problems into the minimization of so-called constraint dissolving functions, cdopt allows for elegant and direct implementations of various unconstrained optimization approaches.

The constraint dissolving approaches have the following advantages:

  • Direct optimization: cdopt is developed from the constraint dissolving approaches, which transforms Riemannian optimization problems to unconstrained optimization problem. Therefore, we can utilize various highly efficient solvers for unconstrained optimization, and directly apply them to solve Riemannian optimization problems. Benefited from the rich expertise gained over the decades for unconstrained optimization, cdopt is very efficient and avoids the difficulties in developing Riemannian optimization solvers.
  • Easy construction: The optimization problem incdopt can be constructed only from the expressions of the objective and constraints. Different from existing Riemannian optimization packages, we can easily and directly describe Riemannian optimization problems in cdopt without any geometrical materials of the Riemannian manifold (e.g., retractions, tangent spaces, vector-transports, etc.).
  • High compatibility : cdopt has high compatibility with various numerical packages, including numpy, PyTorch, JAX, tensorflow, etc. Users can directly apply the advanced features of these numerical packages to accelerate the optimization, including the automatic differentiation, CUDA supports, distributed optimization supports, just-in-time compilations, etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdopt-0.1.7.tar.gz (33.1 kB view hashes)

Uploaded Source

Built Distribution

cdopt-0.1.7-py3-none-any.whl (55.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page