Utilities#

This module implements utilities for COBYQA.

MaxEvalError

Exception raised when the maximum number of evaluations is reached.

TargetSuccess

Exception raised when the target value is reached.

CallbackSuccess

Exception raised when the callback function raises a StopIteration.

FeasibleSuccess

Exception raised when a feasible point of a feasible problem is found.

get_arrays_tol(*arrays)

Get a relative tolerance for a set of arrays.

exact_1d_array(x, message)

Preprocess a 1-dimensional array.

show_versions()

Display useful system and dependencies information.