config_sa | R Documentation |
Create a configuration object for the Simulated Annealing algorithm (SA). At minimum the number of iterations
(parameter iterations
) and the number of particles (parameter population_size
) have
to be provided.
config_sa( iterations, population_size, iterations_same_cost = NULL, absolute_tol = NULL, T0 = 50, Ns = 3, Nt = 3, c_step = 2, Rt = 0.85, Wmin = 0.25, Wmax = 1.25 )
iterations |
maximum number of iterations. |
population_size |
number of particles. |
iterations_same_cost |
maximum number of consecutive iterations with the same
(see the parameter |
absolute_tol |
absolute tolerance when comparing best costs from consecutive iterations.
If |
T0 |
initial temperature. Default is |
Ns |
number of iterations before changing velocity. Default is |
Nt |
number of iterations before changing the temperature. Default is |
c_step |
parameter involved in the velocity update. Default is |
Rt |
scaling factor for the temperature. Default is |
Wmin |
parameter involved in the generation of the starting point. Default is |
Wmax |
parameter involved in the generation of the starting point. Default is |
config_sa
returns an object of class SAConfig
.
Kirkpatrick1983EmiR
conf <- config_sa(iterations = 100, population_size = 50, iterations_same_cost = NULL, absolute_tol = NULL, T0 = 50., Ns = 3., Nt = 3., c_step = 2., Rt = 0.85, Wmin = 0.25, Wmax = 1.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.