42 const Options &opts = this->options_;
43 mov_avg = avg_eta * avg_weight * mov_avg + phi0;
44 avg_weight = avg_eta * avg_weight + 1;
45 mov_avg /= avg_weight;
47 while (a_opt > opts.alpha_min) {
49 const Scalar phia = f(a_opt);
50 bool suff_decrease = phia <= mov_avg + opts.armijo_c1 * a_opt * dphi0;
53 }
catch (
const std::runtime_error &) {
59 a_opt = std::max(a_opt, opts.alpha_min);