hartman4: 4D test function

View source: R/hartman4.R

hartman4R Documentation

4D test function

Description

Hartman 4-dimensional test function.

Usage

hartman4(x)

Arguments

x

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

Details

The hartman4 (standardized version) function is defined over the domain [0,1]^4. It has 1 global minimizer : x* = c(0.1873, 0.1906, 0.5566, 0.2647), with minimum f(x*) = -3.135474

Value

A real number equal to the hartman4 function values at x

Author(s)

Tobias Wagner

Victor Picheny

David Ginsbourger

Examples

 
design <- matrix(runif(400), 100, 4)
response <- apply(design, 1, hartman4)


DiceOptim documentation built on Nov. 13, 2025, 1:07 a.m.