cobyqa.problem.Problem.best_eval#

Problem.best_eval(penalty)[source]#

Return the best point in the filter and the corresponding objective and nonlinear constraint function evaluations.

Parameters:
penaltyfloat

Penalty parameter

Returns:
numpy.ndarray, shape (n,)

Best point.

float

Corresponding objective function value.

float

Corresponding maximum constraint violation.