pub trait SubproblemStep {
// Required method
fn solve(&self, sub: &Subproblem<'_>, radius: f64) -> StepResult;
}Expand description
A trust-region subproblem solver: minimise the local quadratic model within
the scaled radius Δ. One implementation per method (dogleg, Steihaug-CG).
Required Methods§
Sourcefn solve(&self, sub: &Subproblem<'_>, radius: f64) -> StepResult
fn solve(&self, sub: &Subproblem<'_>, radius: f64) -> StepResult
Solve the subproblem for trust radius radius (in scaled units).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".