OptionalinitialInitial step size to try. If not provided, the initial step size is scaled by the gradient norm: α₀ = 1.0 / ||∇f(x)||
OptionalmaxMaximum number of outer iterations (bracketing phase). Default: 25
OptionalmaxMaximum number of zoom iterations (within a bracket). Default: 25
OptionalstepGrowth factor for expanding the trial step size when still in the bracketing phase. Default: 2.0
OptionalwolfeArmijo parameter c1 for sufficient decrease condition. Typical value: 1e-4.
OptionalwolfeCurvature parameter c2 for Strong Wolfe condition. Typical value: 0.9.
Options for Strong Wolfe line search (Nocedal & Wright, 2nd ed., Algorithm 3.5).
This line search aims to satisfy both:
Strong Wolfe is commonly used with quasi-Newton methods (BFGS / L-BFGS) because it tends to produce steps that satisfy the curvature condition (s^T y > 0), which helps keep Hessian approximations well-behaved.