Let $U$ be a certain function on sets ($U(S)$ represents the 'value' of the set $S$).
If a set $S$ is partitioned to two disjoint subsets $A$ and $B$ with $A \cup B=S$, then: $V(A,B):=U(A)+U(B)$ ($V$ represents the 'value' of the partition $(A,B)$).
Now I would like to define a function $W$ that represents the "value of the best partition":
$$W(S) := \max_{(A,B)\ is\ a\ partition\ of\ S}V(A,B)$$
My question is: does it make more sense to use $\max$ or $\sup$ in the definition? I have read about the Difference between supremum and maximum but I am still not sure what will be the consequences of using "max" vs. "sup" in the above definition.