General implementation of termination condition for minimal perturbation
problem.
Solver stops when a timeout is reached (expressed either by the number of
iterations or by a time) or when an acceptable complete (all variables are
assigned) solution is found. The acceptance of a solution is expressed either
by the minimal number of variables assigned to not-initial values or by the
perturbations penalty.
Related Solver 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 |
Termination.MinPerturbances |
Integer |
if zero or positive, solver stops when the solution is complete and the
number of variables with non-initial values is below or equal to this limit |
Termination.MinPerturbationPenalty |
Double |
if zero or positive, solver stops when the solution is complete and when
the perturbation penaly of the solution is below or equal to this limit |