end Iterations
Ends a run stepped with runNextIteration, or a solver initialized and not yet run. Use stopIterations() to cause a graceful completion of inner and outer iterations. The run is recorded as halted only if it could have gone on: a run that has used every iteration, or reached its time limit, records that limit as its reason. A run that an exception ended is over already, and this does nothing; ending a run that ended normally is a misuse, which the iterative process refuses with an exception.
Parameters
msg
a message to capture for why the iterations were ended