Line data Source code
1 : #pragma once 2 : 3 : #include <panoc-alm/util/vec.hpp> 4 : 5 : namespace pa { 6 : 7 9 : struct LipschitzEstimateParams { 8 : /// Initial estimate of the Lipschitz constant of ∇ψ(x) 9 9 : real_t L₀ = 0; 10 : /// Relative step size for initial finite difference Lipschitz estimate. 11 9 : real_t ε = 1e-6; 12 : /// Minimum step size for initial finite difference Lipschitz estimate. 13 9 : real_t δ = 1e-12; 14 : /// Factor that relates step size γ and Lipschitz constant. 15 9 : real_t Lγ_factor = 0.95; 16 : }; 17 : 18 : } // namespace pa