optiprofiler.FeaturedProblem.maxcv

optiprofiler.FeaturedProblem.maxcv#

FeaturedProblem.maxcv(x)[source]#

Evaluate the maximum constraint violation.

Parameters:
xarray_like, shape (n,)

Point at which to evaluate the maximum constraint violation.

Returns:
float

Maximum constraint violation.

Raises:
ValueError

If the argument x has an invalid shape.