ction.

Returns
-------
float
    Objective function value.
`numpy.ndarray`, shape (m_nonlinear_ub,)
    Nonlinear inequality constraint function values.
`numpy.ndarray`, shape (m_nonlinear_eq,)
    Nonlinear equality constraint function values.

Raises
------
`cobyqa.utils.CallbackSuccess`
    If the callback function raises a ``StopIteration``.
r%