Is there a quick way to modify the SetParameterization in 1.12 version to support repeated calls

14 views
Skip to first unread message

tingda zhuang

unread,
Jan 13, 2023, 8:37:42 AM1/13/23
to Ceres Solver
Hello, 

I want to set some parameter to be local_parameterization_1 in the first time optimization. Then in the second time optimiztion, I want to set these parameter to be local_parameterization_2. 

Is there a quick way to modify the SetParameterization in 1.12 version to support repeated calls with different local_parameterization. 

Thanks a lot

Ron S.

unread,
Jan 13, 2023, 11:40:09 AM1/13/23
to Ceres Solver
I don't think there's an easy way. I believe you'd have to create a new problem and add the updated parameters from the optimization of the first Then, you'd use a different local parameterization for the parameters in the second problem. Also, 1.12 is a bit old and LocalParameterization is deprecated and replaced by Manifold in the latest version. 
Reply all
Reply to author
Forward
0 new messages