Abstract
Many real-world problems require to optimize trajectories under constraints. Classical approaches are often based on optimal control methods but require an exact knowledge of the underlying dynamics and constraints, which could be challenging or even out of reach. In view of this, we leverage data-driven approaches to design a new end-to-end framework which is dynamics-free for optimized and realistic trajectories. Trajectories are here decomposed on function basis, trading the initial infinite dimension problem on a multivariate functional space for a parameter optimization problem. Then a maximum a posteriori approach which incorporates information from data is used to obtain a new penalized optimization problem. The penalized term narrows the search on a region centered on data and includes estimated features of the problem. We apply our data-driven approach to two settings in aeronautics and sailing routes optimization. The developed approach is implemented in the Python library PyRotor.
Introduction
Trajectory optimization is a critical task in fields ranging from aerospace to maritime logistics. Traditionally, finding the most efficient path—such as a fuel-minimizing flight route—relies on optimal control methods. These methods necessitate precise mathematical models of the system's dynamics (e.g., lift, drag, thrust) and an exhaustive list of constraints. However, in practice, these models are often proprietary, overly complex, or unknown. Manually defining every constraint is also prone to error. This research introduces a dynamics-free, data-driven framework that leverages historical data to optimize trajectories without requiring explicit physics engines.
Methodology
The proposed framework shifts the optimization problem from physics-based modeling to statistical inference through a multi-step pipeline.
Functional Decomposition
To handle the infinite-dimensional nature of trajectories, the authors project them onto a finite-dimensional basis, such as Legendre polynomials or B-splines. This reduces the problem to optimizing a finite set of coefficients.
Bayesian Maximum A Posteriori (MAP) Approach
The core of the method is a MAP approach that combines a cost-minimizing prior with a data-driven likelihood. The likelihood is modeled using a Gaussian distribution derived from historical "reference trajectories." The resulting covariance matrix implicitly captures physical constraints and correlations between variables.
Data-Penalized Optimization
The final objective function consists of the primary cost (e.g., fuel consumption) and a penalty term based on the Mahalanobis distance. This penalty ensures the optimized trajectory remains within a "realistic" region defined by the historical data. A hyperparameter $\kappa$ is tuned via binary search to balance optimality and realism.
Experimental Results
The framework was evaluated using two primary datasets: a collection of 2,162 commercial flight records and a synthetic force field dataset.
Performance in Aeronautics
In the aeronautics application, the framework demonstrated significant efficiency gains:
- Fuel Savings: A mean reduction of 16.54% in fuel consumption compared to historical flights.
- Realism: Optimized paths maintained operational patterns (Mach number, engine speed) acceptable to pilots and air traffic controllers.
- Efficiency: Optimization for a full flight trajectory averaged just 3.76 seconds on standard hardware.
The methodology is publicly available via the PyRotor Python library.
Conclusion
By penalizing deviations from historical data, the model implicitly "inherits" the underlying physics and constraints. This dynamics-free approach allows for rapid optimization in complex environments where explicit modeling is difficult. While the data-driven penalty significantly improves realism, it does not strictly guarantee compliance with all nonlinear constraints. Future work will focus on integrating clustering for different flight regimes and handling categorical variables. This framework serves as a powerful tool for generating high-quality initial guesses or standalone optimized trajectories in data-rich environments.
Summary updated