Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeBraninFunction

Branin RCOS function


Description

Popular 2-dimensional single-objective test function based on the formula:

f(\mathbf{x}) = a ≤ft(\mathbf{x}_2 - b \mathbf{x}_1^2 + c \mathbf{x_1} - d\right)^2 + e≤ft(1 - f\right)\cos(\mathbf{x}_1) + e,

where a = 1, b = \frac{5.1}{4π^2}, c = \frac{5}{π}, d = 6, e = 10 and f = \frac{1}{8π}. The box constraints are given by \mathbf{x}_1 \in [-5, 10] and \mathbf{x}_2 \in [0, 15]. The function has three global minima.

Usage

makeBraninFunction()

Value

[smoof_single_objective_function]

References

F. H. Branin. Widely convergent method for finding multiple solutions of simultaneous nonlinear equations. IBM J. Res. Dev. 16, 504-522, 1972.

Examples

library(ggplot2)
fn = makeBraninFunction()
print(fn)
print(autoplot(fn, show.optimum = TRUE))

smoof

Single and Multi-Objective Optimization Test Functions

v1.6.0.2
BSD_2_clause + file LICENSE
Authors
Jakob Bossek [aut, cre], Pascal Kerschke [ctb]
Initial release
2020-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.