malschains.control {Rmalschains} | R Documentation |
Sets and initializes the main parameters of the algorithm
Description
This is a function that initializes and sets the parameters of the algorithm.
It generates a list of parameters, to be used with the malschains
function.
Usage
malschains.control(
popsize = 50,
ls = "cmaes",
istep = 500,
effort = 0.5,
alpha = 0.5,
optimum = -Inf,
threshold = 1e-08,
lsOnly = FALSE,
lsParam1 = 0,
lsParam2 = 0
)
Arguments
popsize |
The population size of the evolutionary algorithm. |
ls |
The local search method. Currently implementend are |
istep |
The number of iterations of the local search. I.e., if the local search is started or re-started on an individual, it will be executed for an
|
effort |
A value between 0 and 1 which gives the ratio between the amount of evaluations that are used for the local search and
for the evolutionary algorithm, respectively. A higher effort means more evaluations for the evolutionary algorithm. So, if exploration
of the search space is more important than finding local optima, |
alpha |
The alpha parameter from crossover BLX-alpha. A lower value (< 0.3) reduces diversity, a higher value increases diversity. |
optimum |
The optimum to achieve. The default is zero, as in many minimization problems a value of zero can be considered optimal. |
threshold |
A threshold which defines for the local search how much improvement is considered as no improvement. If this value is chosen too low (zero), then the local search will usually always try to improve on the best individual, even if it is already located very close to a local optimum. |
lsOnly |
Apply only the local search algorithm, and not MA-LS-Chains |
lsParam1 |
First (optional) parameter. Currently, if local search is cmaes, this is the parameter popsize/lambda of cmaes. If it is not set or not positive, cmaes will calculate this automatically using a heuristic. |
lsParam2 |
Second (optional) parameter. Currently, if local search is cmaes, this is the parameter parentssize/mu of cmaes. If it is not set, not positive, or not smaller lambda, cmaes will calculate this automatically using a heuristic. |
Value
returns a list with the parameter names and values of the supplied parameters.
References
Molina, D., Lozano, M., Sánchez, A.M., Herrera, F. Memetic algorithms based on local search chains for large scale continuous optimisation problems: MA-SSW-Chains (2011) Soft Computing, 15 (11), pp. 2201-2220.
Molina, D., Lozano, M., García-Martínez, C., Herrera, F. Memetic algorithms for continuous optimisation based on local search chains (2010) Evolutionary Computation, 18 (1), pp. 27-63.