General implementation of termination condition.
Solver stops when the solution is complete (all varaibles are assigned) or
when a timeout is reached (expressed either by the number of iterations or by
a time).
Parameters:
| Parameter |
Type |
Comment |
| Termination.StopWhenComplete |
Double |
if true, solver stops when a complete solution is found |
| Termination.MaxIters |
Integer |
if zero or positive, solver stops when the given number of iteration is
reached |
| Termination.TimeOut |
Double |
if zero or positive, solver stops when the given timeout (given in
seconds) is reached |