| vntrs | R Documentation |
This function performs variable neighborhood trust region search.
vntrs(
f,
npar,
minimize = TRUE,
init_runs = 5L,
init_min = -1,
init_max = 1,
init_iterlim = 20L,
neighborhoods = 5L,
neighbors = 5L,
beta = 0.05,
iterlim = 100L,
tolerance = 1e-06,
inferior_tolerance = 1e-06,
time_limit = NULL,
cores = 1L,
lower = NULL,
upper = NULL,
collect_all = FALSE,
quiet = TRUE
)
f |
[
for a |
npar |
[ |
minimize |
[ |
init_runs |
[ |
init_min, init_max |
[ |
init_iterlim |
[ |
neighborhoods |
[ |
neighbors |
[ |
beta |
[ |
iterlim |
[ |
tolerance |
[ |
inferior_tolerance |
[ |
time_limit |
[ |
cores |
[ |
lower, upper |
[ |
collect_all |
[ |
quiet |
[ |
A data.frame summarizing the identified optima or NULL if none
could be determined.
Bierlaire et al. (2009) "A Heuristic for Nonlinear Global Optimization" \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1287/ijoc.1090.0343")}.
rosenbrock <- function(x) 100 * (x[2] - x[1]^2)^2 + (1 - x[1])^2
vntrs(f = rosenbrock, npar = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.