cobyqa.problem.ObjectiveFunction.__call__#

ObjectiveFunction.__call__(x)[source]#

Evaluate the objective function.

Parameters:
xarray_like, shape (n,)

Point at which the objective function is evaluated.

Returns:
float

Function value at x.