benchmarkfcns.multiobjective.cf2

benchmarkfcns.multiobjective.cf2(x: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous'], return_constraints: bool = False) Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]']

Computes the value of the CEC 2009 CF2 constrained multi-objective benchmark function. SCORES = multiobjective.cf2(X) computes the value of the CF2 function at point X. multiobjective.cf2 accepts a matrix of size M-by-N and returns a matrix SCORES of size M-by-2. If return_constraints is True, returns an M-by-3 matrix where the last column contains the constraint violation (values > 0 are violations). Properties:

  • Recommended domain: x1 in [0, 1], xj in [-1, 1] for j=2..N

Mathematical Definition

\[\begin{aligned}\]

f_1(textbf{x}) &= x_1 + frac{2}{|J_1|} sum_{j in J_1} [x_j - sin(6pi x_1 + frac{jpi}{n})]^2 \ f_2(textbf{x}) &= 1 - sqrt{x_1} + frac{2}{|J_2|} sum_{j in J_2} [x_j - cos(6pi x_1 + frac{jpi}{n})]^2 \ text{Subject to: } & f_2 + sqrt{f_1} - a sin(Npi(sqrt{f_1} - f_2 + 1)) - 1 ge 0 \ & x_1 in [0, 1], x_j in [-1, 1], quad N=2, a=1 end{aligned}

Visualization

No visualization available for this function.