pub struct DirectOptions {
pub eps: f64,
pub max_fun: Option<usize>,
pub max_iterations: usize,
pub vol_tol: f64,
pub len_tol: f64,
}Expand description
Options for direct (SciPy’s defaults; max_fun defaults to 1000 n).
Fields§
§eps: f64The ε of the potential-optimality test.
max_fun: Option<usize>§max_iterations: usize§vol_tol: f64Stop when the box holding the best point is smaller than this fraction of the domain.
len_tol: f64Stop when half the longest side of that box (in the unit cube) is below this.
Trait Implementations§
Source§impl Clone for DirectOptions
impl Clone for DirectOptions
impl Copy for DirectOptions
Source§impl Debug for DirectOptions
impl Debug for DirectOptions
Auto Trait Implementations§
impl Freeze for DirectOptions
impl RefUnwindSafe for DirectOptions
impl Send for DirectOptions
impl Sync for DirectOptions
impl Unpin for DirectOptions
impl UnsafeUnpin for DirectOptions
impl UnwindSafe for DirectOptions
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