Stop conditions are necessary to ensure that the optimization terminates. These stop criteria can either simply allow a certain number of loops or depend on the convergence behaviour of the optimization.
Convergence Criteria Global Stop Criterion (Number of Iterations)