Learn R Programming

DiceOptim (version 2.1.2)

sphere6: 6D sphere function

Description

6D Shifted and rotated weighted sphere test function.

Usage

sphere6(x)

Value

A real number equal to the sphere6 function values at x

Arguments

x

a 6-dimensional vector specifying the location where the function is to be evaluated.

Author

Tobias Wagner

Victor Picheny

David Ginsbourger

Details

The 6D Shifted and rotated weighted sphere (standardized version) function is here defined over the domain [0,1]^6. It has 1 global minimizer : x* = c(1,0.8,0.6,0.4,0.2,0), ), with minimum f(x*) = -1.941389. It has no further local minima.

Examples

Run this code
 
design <- matrix(runif(400), 100, 4)
response <- apply(design, 1, sphere6)

Run the code above in your browser using DataLab