runAllIterations

Causes the solver to run all iterations until its stopping criteria is met, or the maximum number of iterations has been reached. An exception (or error) thrown by the run's initialization, an iteration, its stopping criteria or mainIterationsEnded ends the run with the reason "Ended With An Error" and is thrown on. Calling this while a run stepped with runNextIteration is in progress is a misuse: it throws an IllegalStateException and leaves that run as it is.