cobyqa.problem.ObjectiveFunction#

class cobyqa.problem.ObjectiveFunction(fun, verbose, store_hist, hist_size, debug, *args)[source]#

Real-valued objective function.

Attributes:
f_hist

History of function evaluations.

n_eval

Number of function evaluations.

name

Name of the function.

x_hist

History of variables.

Methods

__call__(x)

Evaluate the function.

apply_barrier([val])

Apply the barrier function to the function value.