Itinerary planning with category constraints using a probabilistic approach