cobyqa.problem.Function#
- class cobyqa.problem.Function(fun, verbose, store_f_hist, store_x_hist, hist_size, debug, *args)[source]#
Base class for objective and constraints functions.
- Attributes:
Methods
__call__
(x)Evaluate the function.
apply_barrier
([val])Apply the barrier function to the function value.