mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
7b53262b7f
This change only affects the TRUST_REGION minimizer and has no effect on the LINE_SEARCH minimizer. This options controls the number of iterations that the line search algorithm performs. The line search algorithm is as the name implies, used in the LINE_SEARCH minimizer. It is also used by the TRUST_REGION minimizer when solving bounds constrained optimization problems. In some bounds constrained problems, it is enough to project each step onto the bounds constraints and not perform the line search. This can have a significant impact on runtime. Setting Solver::Options::max_num_line_search_step_size_iterations = 0 enables this functionality. Changchang Wu (ccwu@google.com) came up with the idea for this implementation. https://github.com/ceres-solver/ceres-solver/issues/477 Change-Id: Ifbe0bc5c48eedb2c1231d43cd98e4be7316c0682