iode.Simulation.max_nb_iterations
- property Simulation.max_nb_iterations: int
Maximum number of iterations to reach a solution. If, after the specified maximum number of iterations, the model has not converged, the process stops with an error message. This parameter prevents the process from looping indefinitely. Default value is 100.
- Parameters:
- value: int
New maximum number of iterations allowed.
Examples
>>> from iode import Simulation >>> simu = Simulation() >>> # default value >>> simu.max_nb_iterations 100 >>> simu.max_nb_iterations = 1000 >>> simu.max_nb_iterations 1000