Prequel
I had tried Julia once or twice before, but gave it another try when exactly 10 years ago today and started the repository for Manopt.jl.
I had previously worked on image processing for manifold valued data, algorithms similar to Manopt in Matlab, but felt I could not achieve that I wanted w.r.t. usability and speed in these two packages. The same day, i.e. today 10 years ago, I also registered here.
It took nearly 2.5 years to get it to a form that I then decided to finally announce here, and I am still amazed that just in a few days it turned into Manifolds.jl as a spin-off β which were first included in the package as well.
By now, I feel Manopt.jl is mature enough to announce
Manopt.jl 1.0
Given an optimization problem
where f\colon \mathcal M \to \mathbb R is a cost function defined on a Riemannian manifold \mathcal M, the package Manopt.jl provides algorithms to find a minimizer of f.
Several constrained problems can be rephrased as problems on manifolds, for example when \mathcal M are the unit sphere or rotation matrices, but is even beyond that as soon as quotients are involved, for example for the Grassmann manifold.
My own focus for the package is to provide a library of algorithms, especially also for non-smooth optimization and splitting based algorithms. They should be easy to use and configure. You can start with a plain gradient descent algorithm, the family of Quasi Newton methods, the proximal gradient method, the difference of convex algorithm or the Levenberg-Marquardt algorithm, get directly into constrained optimization on manifolds with the interior point Newton method and many more . I hope, they are all documented in a way to make them accessible and usable, even if you are either new to manifolds and/or new to optimization in general.
The algorithms are implemented on a general manifold following the ManifoldsBase.jl interface. A focus for these algorithms besides performance is a modular design. Elements that can easily be replaces and modified are
- Stopping Criteria
- Step sizes
- modular sub solvers for solvers that involve sub problems in every step
- callbacks at several steps during a solvers step (kudos to @mateuszbaran for convincing me to do them)
- decorators for debugging, recording or caching
The goal is to be able to easily compare different settings in algorithms but also between algorithms easily and with the recording to analyse and investigate the algorithms in research. For all changes towards this version see the changelog.
By now the interface and general framework has stabilized, so that the step towards releasing a version 1.0 seems justified.
I would also like to use this announcement as a change to thank each and everyone who has contributed to the package β and to the community and this forum for all help along the way.
Thanks!
Ronny