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

Visualization

cf2 landscape