globalOptTestslibrary(ROI)
library(ROI.models.globalOptTests)globalOptTests is a R package which
contains several non-linear programming problems with box constraints.
More information about globalOptTests can be found in Mullen (2014).
ROI.models.globalOptTestsglobopt()lists all the names of the globalOptTests instances.
globopt(x = "all")gives all the globalOptTests instances converted into a
ROI optimization problem.
globopt(x = "metainfo")gives the available meta information.
globopt(x = "Rastrigin")returns the Rastrigin optimization problem as an ROI
optimization problem.
z <- ROI_solve( globopt(x = "Rastrigin"), start = double(10))
abs(solution(z, "objval") - globopt("metainfo")["Rastrigin", "optimum"])http://dx.doi.org/10.18637/jss.v060.i06