Lines Matching refs:Options
77 LineSearch::LineSearch(const LineSearch::Options& options)
78 : options_(options) {}
81 const LineSearch::Options& options,
86 line_search = new ArmijoLineSearch(options);
89 line_search = new WolfeLineSearch(options);
215 ArmijoLineSearch::ArmijoLineSearch(const LineSearch::Options& options)
216 : LineSearch(options) {}
224 CHECK_GT(options().sufficient_decrease, 0.0);
225 CHECK_LT(options().sufficient_decrease, 1.0);
226 CHECK_GT(options().max_num_iterations, 0);
227 Function* function = options().function;
241 options().interpolation_type == CUBIC;
256 + options().sufficient_decrease
262 if (summary->num_iterations >= options().max_num_iterations) {
267 options().max_num_iterations);
274 options().interpolation_type,
278 (options().max_step_contraction * current.x),
279 (options().min_step_contraction * current.x));
281 if (step_size * descent_direction_max_norm < options().min_step_size) {
308 WolfeLineSearch::WolfeLineSearch(const LineSearch::Options& options)
309 : LineSearch(options) {}
319 CHECK_GT(options().sufficient_decrease, 0.0);
320 CHECK_GT(options().sufficient_curvature_decrease,
321 options().sufficient_decrease);
322 CHECK_LT(options().sufficient_curvature_decrease, 1.0);
323 CHECK_GT(options().max_step_expansion, 1.0);
354 summary->num_iterations < options().max_num_iterations) {
374 << options().max_num_iterations;
434 Function* function = options().function;
441 options().interpolation_type == CUBIC;
463 + options().sufficient_decrease
491 -options().sufficient_curvature_decrease * initial_position.gradient) {
510 } else if (summary->num_iterations >= options().max_num_iterations) {
518 "max_num_iterations: %d", options().max_num_iterations);
536 ? (current.x * options().max_step_expansion) : current.x;
547 options().interpolation_type,
553 if (step_size * descent_direction_max_norm < options().min_step_size) {
589 Function* function = options().function;
617 options().interpolation_type == CUBIC;
626 if (summary->num_iterations >= options().max_num_iterations) {
632 options().max_num_iterations, num_bracketing_iterations);
637 < options().min_step_size) {
664 options().interpolation_type,
693 + options().sufficient_decrease
727 -options().sufficient_curvature_decrease * initial_position.gradient) {