An overview on existing approaches #2
Replies: 4 comments 6 replies
-
Manopt.jlLet's start with the obvious from my side – a plan would be to use this interface to have a base/backend for Manopt.jl algorithms. The current state there is
Things I learned until now might be nice to have
|
Beta Was this translation helpful? Give feedback.
-
MPSKit.jlThe obvious one from my side - the plan would also be to have this interface as a backend for the MPSKit.jl algorithms. The current state there is a bit more split and less unified, but I would like to have a more unified approach.
Things I would definitely improve when reworking this:
|
Beta Was this translation helpful? Give feedback.
-
SciMLor precisely I looked at https://github.com/SciML/DifferentialEquations.jl and its solvers.
are the main loop, so it is a while with a I first thought they would use some iterator scheme, but that From own solvers we did, cf. https://github.com/JuliaManifolds/ManifoldDiffEq.jl/blob/e1a9ad772c261c2555107c046a962dfc33874a3c/src/frozen_solvers.jl#L50, Compared to them
|
Beta Was this translation helpful? Give feedback.
-
Optim.jlOptim.jl seems to have optimisers and their states, see e.g. They sometimes have Besides that it seems they have a solver and a state – and where the problem resides is not fully clear to me. Their general solver run, cf https://github.com/JuliaNLSolvers/Optim.jl/blob/b041bd63373cf2403180c6993eff235b5c010670/src/multivariate/optimize/optimize.jl#L52, seems quite involved and not just do So their general structure seems to maybe be a bit chaotic. One things that might be nice to consider is, whether the “shortcut keyword” |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to collect a few packages and their approaches to iterative things – got get an overview.
Maybe including a bit of details on
As an example a lot of packages use callbacks within their iterations, for example for debug and such – while Manopt uses state-decorators. I like state-decorators for that since it is cleaner to set up than passing in any callback function.
Maybe one answer per package would be nice – I try to take a look around myself as well.
Beta Was this translation helpful? Give feedback.
All reactions