Pillar guide · Giti · ESPADPALM

AI itinerary planning: how travel planners handle constraints, retrieval and optimisation, and where they fail

A day-by-day plan reads like prose but behaves like a schedule. The systems that work treat language models as interpreters and critics, and leave feasibility to machinery that can actually check it.

What changed

  • : Updated the formal-verification travel planning study to its peer-reviewed NAACL 2025 publication.

Key takeaways

  • On the TravelPlanner benchmark, the strongest language agent tested produced a plan meeting every constraint in only 0.6 per cent of cases, so fluency is not feasibility.
  • Itineraries are instances of the orienteering problem with time windows, a well-studied NP-hard routing problem with decades of heuristics behind it.
  • Hybrid designs that pair a language model with external verifiers or solvers report large gains over the model alone on the same travel benchmarks.
  • Freshness of opening hours, prices and transit data is a bigger practical risk than routing quality, and every fact on a plan should carry its source and timestamp.
  • A plan without a pre-computed alternative is unfinished: disruption handling belongs in the core design, not in a later feature.

Every travel product now promises a complete trip from a single sentence. The output usually looks right: tidy days, plausible restaurants, a sensible rhythm of museum, lunch, walk. The trouble is that a plan is not judged by how it reads but by whether it survives contact with a timetable, a budget and a closed door. That is the central problem of AI itinerary planning, and the research record is blunt about it. When a group of researchers built TravelPlanner, a sandbox with around four million data records and 1,225 curated planning requests, the best language agent they tested delivered a plan satisfying all constraints in 0.6 per cent of cases[1]. A separate benchmark found that trip-planning accuracy collapses as the number of cities grows, with every model tested falling below 5 per cent on ten-city problems[2].

Those figures do not mean language models are useless for travel. They mean the model is the wrong component to trust with feasibility. This guide is written for the people building travel planners: how the systems are put together, what each layer can and cannot guarantee, how to evaluate them honestly, and why disruption recovery belongs in the first architecture diagram rather than the roadmap.

Why fluent itineraries fail feasibility checks

A natural-language itinerary hides a combinatorial object. Behind "Day 2: the old town in the morning, the river museum after lunch, dinner near the station" sits a sequence of visits, each with an opening window, a dwell time, a travel time to the next stop, a cost and a fit to the traveller's preferences. A language model generates that sequence token by token, without an explicit representation of the clock, the wallet or the map. It can approximate these quantities from what it has seen, but nothing in the generation process enforces them.

TravelPlanner makes the failure measurable. Its authors separate constraints into three families: environment constraints (a flight route that does not exist, a city with no attraction data), commonsense constraints (no missing accommodation, no impossible city sequences, diverse restaurants, a plan that stays inside the sandbox rather than inventing places) and hard constraints set by the user (budget, room rules, room type, cuisine, transport mode)[1]. They score delivery rate, micro and macro pass rates for commonsense and hard constraints, and a final pass rate for plans that satisfy everything[1]. Agents in their study struggled to stay on task, called tools with wrong arguments, fell into loops and failed to keep several constraints in view at once[1]. You can read the full protocol in the TravelPlanner proceedings paper; it is the closest thing the field has to a shared yardstick.

The second warning is scaling. In the NATURAL PLAN benchmark, which includes a trip-planning task where a model must sequence cities under day counts and flight connectivity, the best reported solve rate was 34.8 per cent, and performance fell steeply as instances grew[2]. Real trips are rarely ten cities, but a dense urban day with twelve candidate stops, three fixed bookings and a child who needs a nap has a similar shape.

A plan is not judged by how it reads but by whether it survives contact with a timetable, a budget and a closed door.

How AI itinerary planning systems are actually built

Production planners that hold up converge on a pipeline in which the language model does what it is good at (interpreting messy intent, explaining trade-offs, proposing candidates) and deterministic components do what they are good at (checking arithmetic, clocks and geography). The position paper that named this pattern "LLM-Modulo" argues that autoregressive models cannot reliably plan or verify their own plans, but are useful as approximate knowledge sources inside a loop with external critics[3]. The travel results that followed bear this out. A system that translates a request into a formal constraint problem and hands it to a satisfiability solver reported a 93.9 per cent success rate on TravelPlanner, against roughly 10 per cent for the best model working alone with all needed information supplied[4]. A critic-loop implementation on the same benchmark reported a 4.6-fold improvement over its baseline for a stronger model, and lifted a weaker model from 0 to 5 per cent[5].

The table below is our decomposition of that pipeline, with the failure each stage tends to produce and the component we think should own it.

StageJobTypical failureOwner we recommend
Intent captureTurn "a relaxed week, under budget, my mother walks slowly" into explicit constraints and weightsDropped or invented constraints; vague terms left unquantifiedLanguage model, with a confirmation step shown to the traveller
Candidate retrievalFetch places, transport options, prices and hours for the destination and datesStale or missing records; places that no longer existRetrieval over dated, sourced data stores
Candidate generationPropose a shortlist matching taste and contextPopularity bias; repetition across daysLanguage model plus a ranking model
Sequencing and timingOrder visits into days that respect windows, travel times and fixed bookingsImpossible transfers; visits outside opening hoursOptimisation heuristic or solver
VerificationCheck every hard and commonsense constraint on the final planSilent violations passed to the userDeterministic rule engine, never the generator itself
Explanation and renderingDay-by-day text, maps, costs, reasons for choicesProse that contradicts the structured planLanguage model writing from the verified structure only
ContingencyPre-compute alternatives for the fragile parts of each dayNo fallback when something changesSame optimiser, re-run on perturbed inputs

The design principle behind the table is separation of authority. The model may suggest, translate and narrate; it may not be the last word on whether the 14:10 train connects with the 14:05 museum exit.

Constraints: the hard, the soft and the unspoken

Every planner needs a constraint model before it needs a prompt. We find it useful to sort constraints by who states them and how they fail.

Hard, stated constraints are explicit and binary: total budget, dates, a booked concert, "no flights". Violating one makes the plan wrong. TravelPlanner's hard-constraint category is a good minimum checklist[1].

Soft, stated preferences are explicit but graded: "not too much walking", "local food", "slow mornings". These belong in the objective function rather than the feasibility check, and the system has to quantify them. A walking limit, for example, is far more useful as a number of minutes per leg than as an adjective. The tourist trip design literature models such preferences as scores on candidate places and as limits on categories of visits[6].

Unspoken commonsense constraints are the ones a human planner never writes down: do not schedule dinner before lunch, do not send someone across the city and back for one stop, do not plan two museums in a row for a child, do not leave someone without a bed. TravelPlanner encodes several of these explicitly, including complete information, sensible city routes and diversity of restaurants and attractions[1]. They are the violations travellers notice first, because they are obvious to a person and invisible to a model that was never told.

Environmental constraints come from the world rather than the person: opening hours, public holidays, closures, timetables, weather. They change on their own schedule, which makes them a data problem as much as a planning one.

Turning vague preferences into numbers

The most consequential design decision in the intent layer is how adjectives become parameters. "Relaxed" might mean a later first visit, fewer stops per day, longer lunches or a cap on walking per leg; different travellers mean different things, and a planner that guesses silently will be wrong in ways that are hard to debug. We recommend a small, explicit vocabulary of pace parameters (earliest start, maximum stops, maximum single walk, minimum rest between visits) that the language model fills from the conversation and then shows back as plain statements the traveller can correct: "first activity at 10:00, no walk longer than fifteen minutes, four stops a day". The confirmation step costs one interaction and removes a whole class of complaints. It also gives the optimiser stable inputs, because the same confirmed numbers are reused every time the plan is recomputed instead of being re-inferred from the conversation.

Group trips add a second dimension. When several people travel together, constraints combine by intersection (everyone must be able to attend a timed booking), while preferences have to be aggregated, and the aggregation rule is a product choice rather than a technical one. Making that rule visible, for example by showing which traveller's priority each day favours, prevents the quiet resentment that sinks shared plans.

Retrieval and freshness: where the hallucinations come from

Most itinerary errors that reach travellers are not routing errors. They are facts: a restaurant that closed last year, a museum that is shut on Mondays, a ferry that only runs in summer, a price from three seasons ago. Retrieval-augmented generation, which pairs a model's internal knowledge with documents fetched at query time, was introduced precisely to ground generation in an external, updatable source[7]. It helps, but it does not remove the problem. Surveys of hallucination distinguish output that contradicts the source from output that adds content the source cannot support, and both appear in travel text: a correct place with an invented opening time, or an invented place inserted to fill a gap[8].

Three practices narrow the gap.

  1. Structured hours, not prose. Opening times should be stored in a machine-readable form that can express weekdays, seasons, public holidays and exceptions. The community specification for the OpenStreetMap opening hours syntax shows how much expressiveness this requires; a planner that only knows "9 to 5" will fail on every holiday[9].
  2. Live operational feeds for transport. Public transport agencies publish real-time data as trip updates, service alerts and vehicle positions under the GTFS Realtime standard[10]. A planner that reads these can see a cancelled service before the traveller reaches the platform.
  3. Provenance on every fact. Each price, time and availability claim on the plan should carry its source and the time it was last refreshed. This is a commitment we have written into Giti's design: prices and availability come from current data and are shown with the time of the last update. Travellers forgive a stale number they were warned about; they do not forgive a confident one that was wrong.

Optimisation: from the orienteering problem to a day plan

Underneath the language layer, itinerary construction is a well-studied operations-research problem. The tourist trip design problem is usually formulated as a variant of the orienteering problem: each candidate place has a score, travel between places takes time, and the goal is to choose and order a subset of places that maximises total score within a time budget[6][11]. Adding opening hours gives the orienteering problem with time windows; planning several days at once gives the team variant, with one "team member" per day[11]. Later surveys catalogue time-dependent travel times, stochastic durations, clustered and arc-based variants, all motivated in part by tourism applications[12].

The practical lesson is that the hard part has mature tooling. Fast metaheuristics for these variants have been studied for more than a decade, and they produce good day plans in the time a traveller is willing to wait[6]. What the classical literature did not have was a way to turn "a relaxed week with good food and not much walking" into scores, windows and budgets. That translation is exactly where language models earn their place. One recent system, ITINERA, makes this split explicit: a language model decomposes the request and selects candidate places, then a cluster-aware spatial optimiser orders them before the model writes the final itinerary[13]. We go deeper into the formulations, heuristics and their interaction with language models in our companion piece on itinerary optimization algorithms.

Architectures compared

Five broad architectures appear in the literature and in shipped products. The matrix below compares them on the properties that matter to a travel-technology team. Ratings are our editorial judgement from the cited results and from the structure of each design, not measured scores.

ArchitectureConstraint guaranteePersonalisation from free textHandles infeasible requestsExplainabilityEngineering cost
Model alone, prompt in, itinerary outNone; benchmark pass rates near zero[1]HighPoor; tends to produce a plan anywayFluent but unverifiableLow
Model as tool-using agentWeak; tool-call errors and loops are common[1]HighPoor to fairPartial trace of tool callsMedium
Model with external critics in a loop (LLM-Modulo)Strong for the constraints the critics encode[3][5]HighFair; critics can report which constraint failedGood; each rejection has a reasonMedium
Model translates to a formal solverStrong; solver proves satisfiability[4]Medium; limited to what the formal model can expressGood; can identify and relax conflicting constraints[4]Good for constraints, weak for tasteHigh
Model plus spatial optimiser (hybrid)Strong for routing and time; depends on data for facts[13]HighFairGood; route logic is inspectableMedium to high

For most consumer planners, the hybrid and critic-loop designs are the sensible default. The formal-solver route is attractive where constraints are dense and the cost of a violation is high, such as group travel with fixed bookings. The model-alone design is acceptable only for inspiration, where the output is clearly labelled as a draft rather than a plan.

The ESPAD Plan Integrity Ladder

We use the following framework to review any itinerary system, our own included. Each rung depends on the one below it; a plan that skips a rung is not trustworthy at the rungs above, however polished it looks.

The ladder is deliberately ordered. Teams tend to invest in rung four, because preference modelling is the visible, demo-friendly part, while rungs two and three are where travellers actually get hurt.

Evaluating a travel planner honestly

Benchmark pass rates are a necessary start. The TravelPlanner metrics (delivery, micro and macro constraint pass rates, final pass rate) should be reported together, because a system can raise micro pass rates while still failing almost every complete plan[1]. Beyond the benchmark, we recommend four additional measures for any production planner.

  • Grounding rate. The share of factual claims on a plan that link to a retrieved record. Anything below complete grounding is a list of potential hallucinations.
  • Staleness. The age distribution of the data behind each plan, by category. Opening hours and prices decay at different speeds.
  • Stability under perturbation. When one input changes, how much of the plan changes? Planning research has long argued that a repaired plan which preserves most of the original is more valuable to the people executing it than a fresh plan that happens to be optimal[14]. Travellers who have already booked dinner feel this directly.
  • Infeasibility honesty. On requests that cannot be satisfied, does the system say so and propose which constraint to relax? Solver-backed designs have shown this is achievable[4]; a model alone will usually return a confident plan that quietly breaks something.

Human review remains essential for taste. Automated metrics tell you whether a plan is possible; only travellers and experienced planners can tell you whether it is good.

Plan B is a design requirement, not a feature

Trips fail at the edges: a cancelled flight, an afternoon of rain, a closed gallery, a tired companion. A planner that produces a beautiful Day 3 and nothing else has done half the job. The resilient rung of the ladder means identifying the fragile elements of each day when the plan is made and preparing alternatives in advance, so that the switch takes seconds rather than a fresh planning session.

This is the core of what we are building in Giti: a day-by-day plan with a map for each day, and a ready alternative the moment something changes, under conditions the traveller sets, such as "the alternative must be cheaper" or "no more than ten minutes of walking". The engineering behind that, from detecting a disruption in live feeds to repairing a plan with minimal change, is covered in our deep dive on travel disruption replanning. For an overview of the product itself, see Giti, the ESPADPALM travel companion.

Where AI travel planners still fail

Even well-built systems carry known weaknesses. Builders should design around them rather than hope they disappear.

  • Long horizons. Accuracy degrades with problem size; multi-city trips remain hard for models even with good prompting[2].
  • Self-verification. Asking the same model to check its own plan is not verification; the critic must be independent and, ideally, deterministic[3].
  • Data gaps in smaller destinations. Retrieval cannot ground what is not in the index, and sparse coverage pushes the generator toward invention[8].
  • Preference drift. A preference stated on day one ("slow mornings") is easy to lose by day five of a long conversation; this is a context-management problem as much as a planning one, covered in our piece on context window management.
  • Cost of tool calls. Agents that call many live services per plan become slow and expensive, which pushes teams toward caching and toward stale data. The trade-off has to be explicit.

None of these is a reason to avoid language models in travel planning. Each is a reason to give them a narrower, better-defined job.

The map of this topic

This guide is the pillar of our travel planning AI topic hub. The cluster articles go deeper into specific engineering problems.

  • Travel disruption replanning: building a Plan B engine that detects disruption, repairs the plan with minimal change and respects passenger rights.
  • Itinerary optimization algorithms: tourist trip design as an orienteering problem with time windows, the heuristics that solve it, and what language models add and break.
  • Opening hours, closures and POI data freshness: keeping the facts on a plan current (coming)
  • Group trip planning: aggregating preferences and constraints across several travellers (coming)
  • Live price and budget estimation for complete trips (coming)
  • Offline-first travel assistants: what must work without a connection (coming)
  • Accessibility constraints in itinerary design: walking limits, step-free routes and rest time (coming)

Frequently asked questions

Can a language model alone produce a reliable travel itinerary?

Not reliably. On the TravelPlanner benchmark, the best agent tested met every constraint in only 0.6 per cent of plans, and multi-city accuracy falls sharply with problem size. A model is valuable for interpreting requests, proposing candidates and explaining plans, but feasibility checks for time, budget and transfers should be done by deterministic verifiers or solvers that sit outside the model.

What is the orienteering problem and why does it matter for trip planning?

The orienteering problem asks which places to visit, and in what order, to maximise total value within a time budget. Adding opening hours gives the variant with time windows, and multiple days give the team variant. Tourist trip design is usually formulated this way, so builders can reuse decades of tested heuristics instead of asking a language model to sequence visits.

How should an AI travel planner handle opening hours and prices?

Store them as structured, dated records from identifiable sources, not as text the model remembers. Opening hours need a syntax that handles weekdays, seasons and public holidays. Every price and time on the final plan should show its source and last refresh, so the traveller can judge how much to trust it and the system can re-check it before the day.

What metrics should we report when evaluating an itinerary planner?

Report delivery rate, micro and macro constraint pass rates and final pass rate together, as defined by TravelPlanner. Add grounding rate, data staleness, stability of the plan when one input changes, and whether the system admits infeasible requests instead of returning a broken plan. Pair these with human review of plan quality, because automated metrics measure possibility, not taste.

Is it better to use a formal solver or a critic loop around the model?

It depends on constraint density and the cost of errors. Translating requests into a formal solver gives strong guarantees and can identify which constraint to relax, but limits what preferences you can express. Critic loops are easier to extend and keep the model flexible, with guarantees only for what the critics check. Many teams combine a critic loop with a routing optimiser.

References

  1. Xie, J., Zhang, K., Chen, J., Zhu, T., Lou, R., Tian, Y., Xiao, Y., & Su, Y. (2024). TravelPlanner: A benchmark for real-world planning with language agents. Proceedings of the 41st International Conference on Machine Learning, PMLR 235. arXiv:2402.01622. arxiv.org/abs/2402.01622
  2. Zheng, H. S., Mishra, S., Zhang, H., Chen, X., Chen, M., Nova, A., Hou, L., Cheng, H.-T., Le, Q. V., Chi, E. H., & Zhou, D. (2024). NATURAL PLAN: Benchmarking LLMs on natural language planning. arXiv:2406.04520. arxiv.org/abs/2406.04520
  3. Kambhampati, S., Valmeekam, K., Guan, L., Verma, M., Stechly, K., Bhambri, S., Saldyt, L., & Murthy, A. (2024). Position: LLMs can't plan, but can help planning in LLM-Modulo frameworks. Proceedings of the 41st International Conference on Machine Learning, PMLR 235. arXiv:2402.01817. arxiv.org/abs/2402.01817
  4. Hao, Y., Chen, Y., Zhang, Y., & Fan, C. (2025). Large language models can solve real-world planning rigorously with formal verification tools. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 3434-3483. Association for Computational Linguistics. doi.org/10.18653/v1/2025.naacl-long.176
  5. Gundawar, A., Verma, M., Guan, L., Valmeekam, K., Bhambri, S., & Kambhampati, S. (2024). Robust planning with LLM-Modulo framework: Case study in travel planning. arXiv:2405.20625. arxiv.org/abs/2405.20625
  6. Gavalas, D., Konstantopoulos, C., Mastakas, K., & Pantziou, G. (2014). A survey on algorithmic approaches for solving tourist trip design problems. Journal of Heuristics, 20(3), 291-328. doi.org/10.1007/s10732-014-9242-5
  7. Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W., Rocktäschel, T., Riedel, S., & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems, 33. arXiv:2005.11401. arxiv.org/abs/2005.11401
  8. Ji, Z., Lee, N., Frieske, R., Yu, T., Su, D., Xu, Y., Ishii, E., Bang, Y. J., Madotto, A., & Fung, P. (2023). Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12), Article 248. doi.org/10.1145/3571730
  9. OpenStreetMap Wiki contributors. (n.d.). Key:opening_hours/specification. OpenStreetMap Wiki. Retrieved November 24, 2026. wiki.openstreetmap.org/wiki/Key:opening_hours/specification
  10. MobilityData. (n.d.). GTFS Realtime overview. General Transit Feed Specification. Retrieved November 24, 2026. gtfs.org/realtime/
  11. Vansteenwegen, P., Souffriau, W., & Van Oudheusden, D. (2011). The orienteering problem: A survey. European Journal of Operational Research, 209(1), 1-10. doi.org/10.1016/j.ejor.2010.03.045
  12. Gunawan, A., Lau, H. C., & Vansteenwegen, P. (2016). Orienteering problem: A survey of recent variants, solution approaches and applications. European Journal of Operational Research, 255(2), 315-332. doi.org/10.1016/j.ejor.2016.04.059
  13. Tang, Y., Wang, Z., Qu, A., Yan, Y., Wu, Z., Zhuang, D., Kai, J., Hou, K., Guo, X., Zheng, H., Luo, T., Zhao, J., Zhao, Z., & Ma, W. (2024). ITINERA: Integrating spatial optimization with large language models for open-domain urban itinerary planning. Proceedings of EMNLP 2024: Industry Track. arXiv:2402.07204. arxiv.org/abs/2402.07204
  14. Fox, M., Gerevini, A., Long, D., & Serina, I. (2006). Plan stability: Replanning versus plan repair. Proceedings of the International Conference on Automated Planning and Scheduling (ICAPS 2006). pureportal.strath.ac.uk/en/publications/plan-stability-replanning-versus-plan-repair/

Lina Okafor

Travel and craft editor, ESPAD AI Journal

Lina writes about itinerary optimisation, local knowledge and disruption recovery in AI travel planners, and about provenance, photography and cross-border trade for artisans.

Reviewed by the ESPAD AI editorial desk under our sourcing and review standards. Next scheduled review: .

ESPADPALM

Giti is the ESPAD AI model for travel planning ai.

Meet Giti All Travel planning AI articles