nonmonotonic_minmax

negmas.helpers.nonmonotonic_minmax(input: Iterable, f: Callable[[Any], float]) tuple[float, float][source]

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