benchmarkfcns.schwefel221¶
- benchmarkfcns.schwefel221(arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous']) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']¶
Computes the value of the Schwefel 2.21 function. SCORES = schwefel221(X) computes the value of the Schwefel 2.21 function at point X. schwefel221 accepts a matrix of size M-by-N and returns a vector SCORES of size M-by-1 in which each row contains the function value for the corresponding row of X. Properties:
Global minimum: 0
Location of global minimum: (0, 0, …, 0)
Number of dimensions: n
Recommended domain: x_i ∈ [-100, 100]
Number of local minima: 0 (It is unimodal)
Convexity: Convex
Separability: Non-separable
Modality: Unimodal
Differentiable: No
For more information, please visit: benchmarkfcns.info/doc/schwefel221fcn
Mathematical Definition
Visualization