[−][src]Trait optimization_engine::core::Optimizer
A general optimizer
Required methods
fn solve(&mut self, u: &mut [f64]) -> SolverStatus
solves a given problem and updates the initial estimate u
with the solution
Returns the solver status
Implementors
impl<'life, GradientType, ConstraintType, CostType> Optimizer for FBSOptimizer<'life, GradientType, ConstraintType, CostType> where
GradientType: Fn(&[f64], &mut [f64]) -> Result<(), Error> + 'life,
CostType: Fn(&[f64], &mut f64) -> Result<(), Error> + 'life,
ConstraintType: Constraint + 'life,
[src]
GradientType: Fn(&[f64], &mut [f64]) -> Result<(), Error> + 'life,
CostType: Fn(&[f64], &mut f64) -> Result<(), Error> + 'life,
ConstraintType: Constraint + 'life,
impl<'life, GradientType, ConstraintType, CostType> Optimizer for PANOCOptimizer<'life, GradientType, ConstraintType, CostType> where
GradientType: Fn(&[f64], &mut [f64]) -> Result<(), Error> + 'life,
CostType: Fn(&[f64], &mut f64) -> Result<(), Error>,
ConstraintType: Constraint + 'life,
[src]
GradientType: Fn(&[f64], &mut [f64]) -> Result<(), Error> + 'life,
CostType: Fn(&[f64], &mut f64) -> Result<(), Error>,
ConstraintType: Constraint + 'life,