cobyqa.framework.TrustRegion.lag_model_grad#

TrustRegion.lag_model_grad(x)[source]#

Evaluate the gradient of the Lagrangian model at a given point.

Parameters:
xnumpy.ndarray, shape (n,)

Point at which the gradient of the Lagrangian model is evaluated.

Returns:
numpy.ndarray, shape (n,)

Gradient of the Lagrangian model at x.