Unique Random Values with shuffle()
Problem
Several variables must take pairwise-distinct random values. A unique constraint
expresses this directly, but as the number of variables grows the solver may fail to
find a solution within its iteration limit.
Solution
Fill a list with every candidate value, shuffle() it, and take the values from the
front of the list. Each value is used at most once, so the results are distinct without
any solver work.