benchmarkfcns.multiobjective.wfg2

benchmarkfcns.multiobjective.wfg2(x: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.c_contiguous'], num_objectives: SupportsInt | SupportsIndex = 3, k: SupportsInt | SupportsIndex = 4) Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]']

Computes the value of the WFG2 multi-objective benchmark function. SCORES = multiobjective.wfg2(X, num_objectives, k) computes the value of the WFG2 function at point X. multiobjective.wfg2 accepts a matrix of size M-by-N and returns a matrix SCORES of size M-by-K where K is the number of objectives. Properties:

  • Domain: x_i in [0, 2i]

  • Shape: convex and disconnected

Mathematical Definition

Visualization

wfg2 landscape