I am working on an optimization which has the following structure
- Build some Hamiltonian large matrices which are functions of the parameters I am optimizing over
- Project onto the lowest couple of energy levels
- Calculate some propagators (basically solve an ODE)
- Calculate some cost function based off the results
I am wondering if there are any recommendations for how do this well! Currently I am using SciML Optimization.jl with NelderMead but have also had some slightly better success with NonlinearSolve’s LevenbergMarquardt + AutoFiniteDiff.
I think the main questions are:
- Has anyone run into similar optimization problems and if so, what works? What are some other solvers / techniques that might be good for this type of problem.
- Ideally, I would be able to use Forward or Reverse autodiff. However, this does not work because of the eigen decomposition. Is there any way to get this to work?