cobyqa.models.Models.cub_curv#
- Models.cub_curv(v, mask=None)[source]#
Evaluate the curvature of the quadratic models of the nonlinear inequality functions along a given direction.
- Parameters:
- v
numpy.ndarray, shape (n,) Direction along which the curvature of the quadratic models of the nonlinear inequality functions is evaluated.
- mask
numpy.ndarray, shape (m_nonlinear_ub,), optional Mask of the quadratic models to consider.
- v
- Returns:
numpy.ndarrayCurvature of the quadratic models of the nonlinear inequality functions along v.