--
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/90e9ef3d-3d1f-4a8b-baa0-57d61996b7ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Sameer,
Thanks a lot for your quick response !
This is the signature of the function that I would want to integrate into ceres :
std::vector<double> nonlin_function_seg(std::vector<double>input, std::vector<std::vector<double> > edge_points_new, std::vector<double> edge_dir_new,std::vector<std::vector<double> > next_segment_index);
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/10a06eec-cc1f-4489-8fdc-9c3a5a8dba48%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/1e04a82c-51c8-4ce3-8d72-d8d656d8e836%40googlegroups.com.
1. The solver takes too long to be run in real-time
2.Some of the optimized parameter values are way out of bounds in comparison to the initial parameters values passed to the function. One logical solution I felt would work was to set upper and lower bounds to the problem since I have an idea of the limits to be assigned to parameters. However Ceres does not seem to obey the bound constraints that I set.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/b103f1c9-56e0-4022-a8a2-a4f30b9995a5%40googlegroups.com.
Athul,
As you can see all the time is going in Jacobian evaluation. You need to make your function use analytic or automatic differentiation.
This problem is made worse by adding bounds constraints which require more derivative evaluations.
As for the bounds constraints, the two calls you made only set the first componenent of your parameter block to the bounds constraints you also need to set bounds constraints on the rest of the components.
Sameer
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/e8392d34-0658-4651-b94e-40de69957385%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/e8392d34-0658-4651-b94e-40de69957385%40googlegroups.com.