Function that runs gradient method for one deme. Wrapper function for stats::optim.
Source:R/gradient_method.R
default_run_gradient_method.Rd
Function that runs gradient method for one deme. Wrapper function for stats::optim.
Arguments
- deme
Deme
- fitness
fitness function
- optim_args
list of additional parameters (stats::optim parameters)
Value
list with named fields: solution, population, value. See
ga_metaepoch
for more details.