Route Optimization II: Search Space, Brute Force, and Practical Heuristics
Advanced
Combinatorial Optimisation
Created by Pavel
· 12.03.2026 at 07:54 UTC
· 2 completed
For a multi-leg trip, each leg can offer several modalities. If each of L legs has k options, brute-force candidate count is approximately k^L.
Example:
- 3 legs, 2 options each -> 8 full-route combinations,
- 8 legs, 3 options each -> 6561 combinations.
Engineering trade-off:
- brute force gives guaranteed global best if fully enumerated,
- heuristic routing is faster but may miss optimum,
- constraints and tie-break policies should be explicit.
Practical strategies:
- prune impossible branches early,
- keep best-so-far bound,
- use domain constraints (max transfers, max price) to reduce candidates.
University approvals: 0
Tasks
Card Info
- Topic: Combinatorial Optimisation
- Difficulty: Advanced
- Completed: 2 users
Creator
Pavel