#[non_exhaustive]pub struct SlsqpOptions {
pub ftol: f64,
pub max_iterations: usize,
}Expand description
Options for slsqp, with SciPy’s defaults.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ftol: f64The tolerance on the objective’s change and on the constraint violation (SciPy’s ftol).
max_iterations: usizeThe largest number of iterations (SciPy’s maxiter).
Implementations§
Trait Implementations§
Source§impl Clone for SlsqpOptions
impl Clone for SlsqpOptions
impl Copy for SlsqpOptions
Source§impl Debug for SlsqpOptions
impl Debug for SlsqpOptions
Auto Trait Implementations§
impl Freeze for SlsqpOptions
impl RefUnwindSafe for SlsqpOptions
impl Send for SlsqpOptions
impl Sync for SlsqpOptions
impl Unpin for SlsqpOptions
impl UnsafeUnpin for SlsqpOptions
impl UnwindSafe for SlsqpOptions
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