I’m talking primary residence, ie where you spend the majority of your time, because Hypothetical You is rich and you have many homes.
Personally, the variables I’m maximizing are: freedom, meeting intellectual needs (living in the middle of nowhere is free but the intellectual density is low), and vibe (which is probably a measure of the density of artists).