pub enum CrossoverDecline {
NothingToIdentify,
QpFailed,
LineSearchFailed,
ActiveSetNotConverged,
Regressed,
}Expand description
Why crossover did not replace the interior iterate. Reported rather than swallowed: “crossover ran and declined” and “crossover never ran” are different facts about a solve, and the AMBIGUOUS-activity consumers this exists for need to tell them apart.
Variants§
NothingToIdentify
The problem has no bounds and no constraints, so there is no active set to identify.
QpFailed
The EQP-equivalent QP did not solve, and step 4 was disabled or also failed.
LineSearchFailed
The penalty line search could not accept a step from the interior iterate.
ActiveSetNotConverged
The full active-set run did not converge within crossover_max_iter.
Regressed
A point was produced but it is not at least as good a KKT point as the
interior iterate (see accepts).
Trait Implementations§
Source§impl Clone for CrossoverDecline
impl Clone for CrossoverDecline
Source§fn clone(&self) -> CrossoverDecline
fn clone(&self) -> CrossoverDecline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CrossoverDecline
Source§impl Debug for CrossoverDecline
impl Debug for CrossoverDecline
impl Eq for CrossoverDecline
Source§impl PartialEq for CrossoverDecline
impl PartialEq for CrossoverDecline
impl StructuralPartialEq for CrossoverDecline
Auto Trait Implementations§
impl Freeze for CrossoverDecline
impl RefUnwindSafe for CrossoverDecline
impl Send for CrossoverDecline
impl Sync for CrossoverDecline
impl Unpin for CrossoverDecline
impl UnsafeUnpin for CrossoverDecline
impl UnwindSafe for CrossoverDecline
Blanket Implementations§
impl<T> Boilerplate for T
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,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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