cobyqa.framework.TrustRegion.sqp_fun#

TrustRegion.sqp_fun(step)[source]#

Evaluate the objective function of the SQP subproblem.

Parameters:
stepnumpy.ndarray, shape (n,)

Step along which the objective function of the SQP subproblem is evaluated.

Returns:
float

Value of the objective function of the SQP subproblem along step.