The purpose of adding a scale factor for PiecewiseJerkPathProblem?
Hi, all. I notice that a scale factor of {1.0, 10.0, 100.0} was added on the PiecewiseJerkPathProblem:
piecewise_jerk_problem.set_scale_factor({1.0, 10.0, 100.0}); in piecewise_jerk_path_optimizer.cc. I want to know the reason behind doing this and what improvement can be brought. Thank you so much.
To improve the numerical stability. So the decision variables is d, 10 * dl, 100 * ddl now, and they are in the same range approximately.
"The chance for numerical instability and rounding errors is considerably larger when the input data contains both large and small numbers. So to improve stability, one must try to work with numbers that are somewhat in the same range. "
To improve the numerical stability. So the decision variables is d, 10 * dl, 100 * ddl now, and they are in the same range approximately.
"The chance for numerical instability and rounding errors is considerably larger when the input data contains both large and small numbers. So to improve stability, one must try to work with numbers that are somewhat in the same range. "
I'm still confused about what "stability" means in this context. Does this approach fasten convergence, or just reduce the error of the optimal solution?