gemseo / algos

stop_criteria module

Various termination criteria for drivers

exception gemseo.algos.stop_criteria.DesvarIsNan[source]

Bases: gemseo.algos.stop_criteria.TerminationCriterion

Stops driver when the design variables are nan

exception gemseo.algos.stop_criteria.FunctionIsNan[source]

Bases: gemseo.algos.stop_criteria.TerminationCriterion

Stops driver when a function has NaN value or NaN Jacobian

exception gemseo.algos.stop_criteria.MaxIterReachedException[source]

Bases: gemseo.algos.stop_criteria.TerminationCriterion

Exception raised when the maximum number of iterations is reached by the driver

exception gemseo.algos.stop_criteria.TerminationCriterion[source]

Bases: Exception

Stop driver for some reason