#[non_exhaustive]pub enum SlsqpStatus {
Converged,
InconsistentConstraints,
PositiveDirectionalDerivative,
LineSearchFailed,
IterationLimit,
NotFinite,
}Expand description
Why slsqp stopped.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Converged
The objective and the constraints settled to ftol.
InconsistentConstraints
The subproblem has no solution even with the constraints relaxed (SciPy’s mode 4).
PositiveDirectionalDerivative
The search direction is not a descent direction of the merit function, after a restart from the identity matrix (SciPy’s mode 8).
LineSearchFailed
No acceptable step in ten tries of the line search, after a restart.
IterationLimit
The iteration limit was reached (SciPy’s mode 9).
NotFinite
The objective or a constraint was not finite.
Trait Implementations§
Source§impl Clone for SlsqpStatus
impl Clone for SlsqpStatus
impl Copy for SlsqpStatus
Source§impl Debug for SlsqpStatus
impl Debug for SlsqpStatus
impl Eq for SlsqpStatus
Source§impl PartialEq for SlsqpStatus
impl PartialEq for SlsqpStatus
impl StructuralPartialEq for SlsqpStatus
Auto Trait Implementations§
impl Freeze for SlsqpStatus
impl RefUnwindSafe for SlsqpStatus
impl Send for SlsqpStatus
impl Sync for SlsqpStatus
impl Unpin for SlsqpStatus
impl UnsafeUnpin for SlsqpStatus
impl UnwindSafe for SlsqpStatus
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