powered by
The method enables creating of objects of class "test.problem" for a few standard test problems.
"test.problem"
test.problem(name, n.test = 100, dim, maxf, objective, lower, upper)
The name of the test problem. Currently supports one of "parabola", "griewank", "rosenbrock", "rastrigin", or "ackley".
"parabola"
"griewank"
"rosenbrock"
"rastrigin"
"ackley"
The number of tests to perform.
Override the default dimension of the problem.
Override the default maximal number of function evaluations for the problem.
Override the default objective for the function.
Override the default lower bounds for the problem.
Override the default upper bounds for the problem.
An object of class "test.problem".
'>test.problem.
'>test.problem
# NOT RUN { test.problem("rast") test.problem("rast",dim=4,n.test=10) test.problem("grie") # }
Run the code above in your browser using DataLab