cobyqa.models.Models.ceq_hess_prod#

Models.ceq_hess_prod(v, mask=None)[source]#

Evaluate the right product of the Hessian matrices of the quadratic models of the nonlinear equality functions with a given vector.

Parameters:
vnumpy.ndarray, shape (n,)

Vector with which the Hessian matrices of the quadratic models of the nonlinear equality functions are multiplied from the right.

masknumpy.ndarray, shape (m_nonlinear_eq,), optional

Mask of the quadratic models to consider.

Returns:
numpy.ndarray

Right products of the Hessian matrices of the quadratic models of the nonlinear equality functions with v.