Skip to main content

SubproblemStep

Trait SubproblemStep 

Source
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§

Source

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".

Implementors§