R/branin.R

Defines functions branin

Documented in branin

branin <- function(x) {
  x1 <- x[1]*15-5   
  x2 <- x[2]*15     
  (x2 - 5/(4*pi^2)*(x1^2) + 5/pi*x1 - 6)^2 + 10*(1 - 1/(8*pi))*cos(x1) + 10
}

Try the DiceKriging package in your browser

Any scripts or data that you put into this service are public.

DiceKriging documentation built on Feb. 24, 2021, 1:07 a.m.