CRAFT: Constrained Route planning with Adaptive Framework and Template-based code generation
Shahd Elmahallawy, Ahmed Eldawy
Key points
From the paper's conclusion- We evaluate CRAFT on 2,600 natural-language queries over California road networks against two baselines, analyzing correctness, constraint violations, long-distance scalability, and semantic POI filtering.
Abstract
Everyday routing requests are rarely a point-to-point shortest path. A driver may need to visit stops, sometimes in a fixed order, under time budgets or distance limits, and perhaps recharge their EV car along the way. Each combination is a distinct routing problem that classically requires its own algorithm, so no fixed solver covers the space of queries users may ask. This paper presents CRAFT, which takes a constrained routing query as free text and returns a route that satisfies the user's requirements on a real road network. An LLM parses the query and generates four search functions, which a generic graph-search engine executes on the road network. We formalize the underlying problem as State-Expanded RCSP (SE-RCSP), which extends resource-constrained shortest paths (RCSP) with non-additive state such as node-dependent resets and discrete progress tracking. We evaluate CRAFT on 2,600 natural-language queries over California road networks against two baselines, analyzing correctness, constraint violations, long-distance scalability, and semantic POI filtering.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Map2Route: Benchmarking Compositional Language-Grounded Route Planning over Semantic MapsarXiv · 2026
- LangNCO: Compiling Natural-Language Constraints into Inference-Time Interventions for Neural Combinatorial OptimizationarXiv · 2026
- CoordRoute: Coordinated Multi-Model Routing for Maximum Compute-Budget UtilityarXiv · 2026
- SCOPE-Router: Cost-Aware Open-Set VLM Routing for Execution-Oriented TasksarXiv · 2026
- ARoute: Task-Aligned Batch and Streaming Model RoutingarXiv · 2026
- RouteWeaver: Weaving Mode Selection and Execution into Unified LLM RoutingarXiv · 2026