makeSchafferN2Function function

Modified Schaffer Function N. 2

Modified Schaffer Function N. 2

Second function by Schaffer. The defintion is given by the formula [REMOVE_ME]f(x)=0.5+sin2(x12x22)0.5(1+0.001(x12+x22))2[REMOVEME2] f(\mathbf{x}) = 0.5 + \frac{\sin^2(\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.

makeSchafferN2Function()

Returns

[smoof_single_objective_function]

Description

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

f(x)=0.5+sin2(x12x22)0.5(1+0.001(x12+x22))2 f(\mathbf{x}) = 0.5 + \frac{\sin^2(\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