A unimodal test function that calculates the sum of squared cumulative sums, also known as the Schwefel 2.22 variant.
F03(x)Numeric scalar representing the function value.
Formula: $$f(x) = \sum_{i=1}^{n} \left(\sum_{j=1}^{i} x_j\right)^2$$
Global minimum: \(f(0, 0, ..., 0) = 0\)
Characteristics:
Type: Unimodal
Separable: No
Differentiable: Yes
Convex: Yes
Default bounds: \([-100, 100]^n\)
Default dimensions: 50
This function is non-separable because each term depends on all previous variables, making it useful for testing algorithms' ability to handle variable dependencies.
test-functions for an overview of all test functions,
get_function_details to retrieve function parameters.