The answer to the question is a term called search costs.
Search costs refer to costs that a potential customer incurs when he or she chooses to search for a better product or service until the marginal cost of searching exceeds the marginal benefit. This is a behavior that rational consumers would engage in - one that the individual is engaging in by visiting several different apartments.