pub enum Method {
NelderMead,
Powell,
CG,
BFGS,
LBFGS,
NewtonCG,
TrustNCG,
TrustKrylov,
TrustExact,
TNC,
SLSQP,
}
Expand description
Optimization methods for unconstrained minimization.
Variants§
NelderMead
Nelder-Mead simplex algorithm
Powell
Powell’s method
CG
Conjugate gradient method
BFGS
Broyden-Fletcher-Goldfarb-Shanno algorithm
LBFGS
Limited-memory BFGS with optional inverse Hessian approximation
NewtonCG
Newton-Conjugate-Gradient algorithm
TrustNCG
Trust-region Newton-Conjugate-Gradient algorithm
TrustKrylov
Trust-region truncated generalized Lanczos / conjugate gradient algorithm
TrustExact
Trust-region nearly exact algorithm
TNC
Truncated Newton method with Conjugate Gradient
SLSQP
Sequential Least SQuares Programming
Trait Implementations§
impl Copy for Method
impl Eq for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more