CADETProcess.optimization.OptimizationProblem.evaluate_bounds

CADETProcess.optimization.OptimizationProblem.evaluate_bounds#

OptimizationProblem.evaluate_bounds(x: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) ndarray[source]#

Calculate bound violation.

Parameters:
xarray_like

Value of the optimization variables in untransformed space.

Returns:
constraints: np.ndarray

Value of the linear constraints at point x