How to Access Variable Values After Each Iteration in Ceres?

25 views
Skip to first unread message

Shengkai Guo

unread,
Sep 13, 2024, 11:23:38 PM9/13/24
to Ceres Solver

Hi!!!!!!!!!!!

I am using Ceres (version 2.1.0) to solve a multivariable optimization problem, and I need to record the values of the optimization variables (e.g., x, not objective function values f(x) ) after each iteration. I’ve tried custom callbacks and using Evaluate(), but I’m only able to get the initial values or face other issues.

Is there a recommended way to retrieve the variable values after each iteration? Any guidance or suggestions would be greatly appreciated!

Thank you!

Sameer Agarwal

unread,
Sep 13, 2024, 11:25:50 PM9/13/24
to ceres-...@googlegroups.com

http://ceres-solver.org/nnls_solving.html#_CPPv4N5ceres6Solver7Options28update_state_every_iterationE

Sameer


--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/830f238b-36c3-4854-9abd-a40eb5526b44n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages