Can you come up with one? Given the specific problem, I find it challenging to come up with a different analogy for the same concept.
“In combinatorial mathematics, the ménage problem or problème des ménages asks for the number of different ways in which it is possible to seat a set of couples, labeled “A_n” and “B_n” accordingly, at a round dining table so that the A and B alternate and no two couples are sat next to each other such that A_n = B_m”.
Idea stolen from this video on Gale-Shapley, which is also typically presented in a "gendered / heteronormative" way (but doesn't have to be): https://www.youtube.com/watch?v=fudb8DuzQlM.
I mean there are so many possible examples, right? Anything where you have pairs of partners.. bridge, tennis doubles, etc.