makeSchafferN4Function function

Schaffer Function N. 4

Schaffer Function N. 4

Second function by Schaffer. The defintion is given by the formula [REMOVE_ME]f(x)=0.5+cos2(sin(x12x22))0.5(1+0.001(x12+x22))2[REMOVEME2] f(\mathbf{x}) = 0.5 + \frac{\cos^2(sin(|\mathbf{x}_1^2 - \mathbf{x}_2^2|)) - 0.5}{(1 + 0.001(\mathbf{x}_1^2 + \mathbf{x}_2^2))^2} [REMOVE_ME_2]

subject to xi[100,100],i=1,2\mathbf{x}_i \in [-100, 100], i = 1, 2.

makeSchafferN4Function()

Returns

[smoof_single_objective_function]

Description

Second function by Schaffer. The defintion is given by the formula

f(x)=0.5+cos2(sin(x12x22))0.5(1+0.001(x12+x22))2 f(\mathbf{x}) = 0.5 + \frac{\cos^2(sin(|\mathbf{x}_1^2 - \mathbf{x}_2^2|)) - 0.5}{(1 + 0.001(\mathbf{x}_1^2 + \mathbf{x}_2^2))^2}

subject to xi[100,100],i=1,2\mathbf{x}_i \in [-100, 100], i = 1, 2.

References

S. K. Mishra, Some New Test Functions For Global Optimization And Performance of Repulsive Particle Swarm Method.

  • Maintainer: Jakob Bossek
  • License: BSD_2_clause + file LICENSE
  • Last published: 2023-03-10

Downloads (last 30 days):