Trait multistochgrad::types::Minimizer
source · pub trait Minimizer<D: Dimension, F: ?Sized, MinimizerArg> {
type Solution: Evaluation<D>;
// Required method
fn minimize(
&self,
function: &F,
initial_position: &Array<f64, D>,
args: Option<MinimizerArg>
) -> Self::Solution;
}
Expand description
Defines an optimizer that is able to minimize a given objective function F
.
Required Associated Types§
sourcetype Solution: Evaluation<D>
type Solution: Evaluation<D>
Type of the solution the Minimizer
returns.