Branin RCOS function
Popular 2-dimensional single-objective test function based on the formula: [REMOVE_ME]f(x)=a(x2−bx12+cx1−d)2+e(1−f)cos(x1)+e,[REMOVEME2]
where a=1,b=4π25.1,c=π5,d=6,e=10 and f=8π1. The box constraints are given by x1∈[−5,10]
and x2∈[0,15]. The function has three global minima.
makeBraninFunction()
Returns
[smoof_single_objective_function
]
Description
Popular 2-dimensional single-objective test function based on the formula:
f(x)=a(x2−bx12+cx1−d)2+e(1−f)cos(x1)+e,
where a=1,b=4π25.1,c=π5,d=6,e=10 and f=8π1. The box constraints are given by x1∈[−5,10]
and x2∈[0,15]. The function has three global minima.
Examples
library(ggplot2)
fn = makeBraninFunction()
print(fn)
print(autoplot(fn, show.optimum = TRUE))
References
F. H. Branin. Widely convergent method for finding multiple solutions of simultaneous nonlinear equations. IBM J. Res. Dev. 16, 504-522, 1972.