nonmonotonic_minmax

negmas.helpers.nonmonotonic_minmax(input, f)[source]

Finds the limits of a function f for the input assuming that it is non-monotonic and input is iterable

Return type:

tuple[float, float]