Enum argmin::termination::TerminationReason [] [src]

pub enum TerminationReason {
    MaxItersReached,
    TargetCostReached,
    TargetPrecisionReached,
    Other,
    NotTerminated,
}

Indicates why the optimization algorithm stopped

Variants

Maximum number of iterations reached

Target cost function value reached

Target precision reached

Not covered by the above

In case it has not terminated yet

Methods

impl TerminationReason
[src]

[src]

Returns true if a solver terminated and false otherwise

Trait Implementations

impl Debug for TerminationReason
[src]

[src]

Formats the value using the given formatter.