benchmarkfcns.pricen2

benchmarkfcns.pricen2(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 Price N. 2 (Periodic) benchmark function. SCORES = pricen2(X) computes the value of the Price N. 2 function at point X. pricen2 is an alias for periodic. Properties:

  • Global minimum: 0.9

  • Location of global minimum: (0, 0, …, 0)

  • Number of dimensions: n

  • Recommended domain: [-10, 10]^n

  • Modality: multimodal

Mathematical Definition

Visualization

pricen2 landscape