Usage
simpleEA(fn, lower, upper, N = 100, ..., con = 0.1, new = 0.05,
tol = 1e-10, eps = 1e-07, scl = 1/2, confined = FALSE, log = FALSE)
Arguments
fn
the objective function to be minimized.
lower
vector of lower bounds for all coordinates.
upper
vector of upper bounds for all coordinates.
N
number of children per parent.
...
additional parameters to be passed to the function.
con
percentage of individuals concentrating to the best parents.
new
percentage of new individuals not focussed on existing parents.
tol
tolerance; if in the last three loops no better individuals
were found up to this tolerance, stop.
eps
grid size bound to be reached.
scl
scaling factor for shrinking the grid.
confined
logical; shall the set of individuals be strictly
respect the boundary? Default: FALSE.
log
logical, should best solution found be printed per step.