Ceres Solver
Saw this through the Visual SLAM book. Used in production.
http://ceres-solver.org/index.html
Has some really good general foundational knowledge:
Python bindings:
Related
I always think of CERES when I really think of CasADI, which is what prof Yash Pant mentions a lot.