This is an irrational example of Statistics, thought it is fun.
No one could encounter all his or her potential spouses. This is the way poeple do: get the first, if not fit, find the second, then if not fit, find the next and so continue finding util one who really becomes the spouse, or never get married. Even some people would have more than one girlfriend or boyfriend at the same time the method of finding spouses is basicly the same. Can you figure out the possibility of any combination of favorate traits?
Further, and because it is an Economics forum here, mathematic optimization process is normally not suited for social phenomena among which is the process of finding "optimal" spouses, as what the example implies.
However, I show respect to the professor whose heart's full of niceness to students with workmanship.