This function provides a way to merge the user specified controls for the optimization methods with their respective default controls.
get_control(method, control = list())
A list. Arguments to be used to control the behavior
of the algorithm chosen in method
.
A character string. Type of algorithm to be
used for global optimization. The four available methods
are simulated annealing (GenSA
), particle swarm (psoptim
),
genetic algorithm (GA
), and grid search (gridSearch
)
Default is GenSA
,
A list. Arguments to be used to control the
behavior of the algorithm chosen in method
. See controls section for more details.