Trait optimization_engine::core::Optimizer [−][src]
pub trait Optimizer {
fn solve(&mut self, u: &mut [f64]) -> Result<SolverStatus, SolverError>;
}
Expand description
A general optimizer
Required methods
fn solve(&mut self, u: &mut [f64]) -> Result<SolverStatus, SolverError>
fn solve(&mut self, u: &mut [f64]) -> Result<SolverStatus, SolverError>
solves a given problem and updates the initial estimate u
with the solution
Returns the solver status