minmax
- negmas.preferences.minmax(ufun, outcome_space=None, issues=None, outcomes=None, max_cardinality=1000)[source]
Finds the range of the given utility function for the given outcomes
- Parameters
ufun (UtilityFunction) – The utility function
outcome_space (OutcomeSpace | None) – An outcome-space to consider
outcomes (list[Outcome] | None) – A collection of outcomes (optional)
max_cardinality – the maximum number of outcomes to try sampling (if sampling is used and outcomes are not given)
- Return type
- Returns
Minumum utility, maximum utility