pub fn validate_step_size( eta: f64, alpha: f64, beta: f64, smoothness_l: f64, mu: f64, ) -> Result<bool>
Check that a proposed step size respects the sufficient bound.