Learn R Programming

cec2005benchmark (version 1.0.4)

cec2005benchmark2: Function Number 2

Description

Shifted Schwefel's Problem 1.2
  • $x \in [-100,100]^D$
  • Global optimum $F(x^*) = -450$

Usage

cec2005benchmark2(x)

Arguments

x
Either a vector with 2, 10, 30 or 50 elements or a matrix with the same number of columns and one row for each vector to be evaluated

Value

A vector with the evaluation of the function for each row of x

References

P. N. Suganthan, N. Hansen, J. J. Liang, K. Deb, Y.-P. Chen, A. Auger, S. Tiwari (2005). Problem Definitions and Evaluation Criteria for the CEC 2005 Special Session on Real-Parameter Optimization, Technical report, Nanyang Technological University, Singapore, May 2005, http://www.ntu.edu.sg/home/EPNSugan/index_files/CEC-05/CEC05.htm.

See Also

cec2005benchmark

Examples

Run this code
cec2005benchmark2(runif(10, -100, 100))

Run the code above in your browser using DataLab