pub struct Options {
pub maxiter: Option<usize>,
pub ftol: Option<f64>,
pub gtol: Option<f64>,
pub eps: Option<f64>,
pub finite_diff_rel_step: Option<f64>,
pub disp: bool,
pub return_all: bool,
}
Expand description
Options for the unconstrained optimizer.
Fields§
§maxiter: Option<usize>
Maximum number of iterations to perform
ftol: Option<f64>
Precision goal for the value in the stopping criterion
gtol: Option<f64>
Precision goal for the gradient in the stopping criterion (relative)
eps: Option<f64>
Step size used for numerical approximation of the jacobian
finite_diff_rel_step: Option<f64>
Relative step size to use in numerical differentiation
disp: bool
Whether to print convergence messages
return_all: bool
Return the optimization result after each iteration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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