Matching Plans for Agents with Vertically and Horizontally Differentiated Preferences∗