Function bisect_gradient
fn bisect_gradient<F>(
model_prices: &mut F,
markets: &[f64],
) -> Result<f64, CalibrationError>Expand description
Bisection on the least-squares gradient over the bracket — the fallback when Gauss-Newton keeps leaving it.