Enum argmin::termination::TerminationReason
[−]
[src]
pub enum TerminationReason { MaxItersReached, TargetCostReached, TargetPrecisionReached, Other, NotTerminated, }
Indicates why the optimization algorithm stopped
Variants
MaxItersReached
Maximum number of iterations reached
TargetCostReached
Target cost function value reached
TargetPrecisionReached
Target precision reached
Other
Not covered by the above
NotTerminated
In case it has not terminated yet
Methods
impl TerminationReason
[src]
fn terminated(&self) -> bool
[src]
Returns true
if a solver terminated and false
otherwise