Search arXiv⌕ Search

arXiv · 2611.10897

Computationally Efficient Data Generation for Learning Nonlinear MPC Policies

Abstract

Learning MPC requires large datasets generated by repeatedly solving MPC problems. For Nonlinear MPC (NMPC), dataset generation is computationally expensive because feasible initial states are difficult to sample efficiently. The feasible set is often non-convex or even disconnected, and many randomly sampled states are infeasible, leading to wasted optimization solves and unnecessary computational effort. In this work, we propose a data-generation framework for learning NMPC policies that combines active-set exploration with projection-based sampling. First, a bilevel formulation samples activity weights to promote solutions associated with different active sets while preserving optimality for the original NMPC problem; second, a simpler slack-based formulation uses weighted slack variables to target different active sets at the single level. These reference solutions are then used to construct local linearized feasible sets, from which candidate initial states are sampled and projected through the nonlinear NMPC problem to recover feasible and locally optimal training samples. Our approach is up to $37\times$ faster than baseline uniform sampling with $99\%$ acceptance rate, while maintaining a representative coverage of the feasible set.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Pietro Gori, Anton Pozharskiy, Franco Angelini, Manolo Garabini, Moritz Diehl, Armin Nurkanović. 2026-11-07. Computationally Efficient Data Generation for Learning Nonlinear MPC Policies. https://searcharxiv.org/abs/2611.10897

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

The Cesàro Value Iteration

In this paper, we consider undiscouted infinite-horizon optimal control for deterministic systems with an uncountable state and input space. We specifically address the case when the classic value iteration does not converge. For such systems, we use the Ces`aro mean to define the infinite-horizon optimal control problem and the corresponding infinite-horizon value function. Moreover, for this value function, we introduce the Cesàro value iteration and prove its convergence for the special case of systems with periodic optimal operating behavior. For this instance, we also show that the Cesàro value function recovers the undiscounted infinite-horizon optimal cost, if the latter is well-defined.

eess.SY↗

Comfort energy management system for electrified buildings using hydrogen for seasonal storage

Flexible loads and integrated energy storage in electrified buildings can align volatile renewable energy use with consumption. While battery energy storage systems provide short-term flexibility, hydrogen storage enables seasonal energy shifting. However, since hydrogen systems are expensive, coupling a fuel cell with a heat pump can reduce the required size of the hydrogen system and, therefore, investment costs. To fully exploit the flexibility of this integrated energy system, advanced control strategies are needed. This study proposes a comfort-oriented and grid-aware energy management system for an electrified building equipped with photovoltaics, a battery energy storage system, a hydrogen system, a heat pump, and domestic hot water storage. A novel fuzzy logic-based controller coordinates fuel cell and heat pump operation while exploiting building thermal mass as a flexibility resource. The proposed approach bridges the gap between simple rule-based control and model predictive control, enabling adaptive operation without system models, weather and demand forecasts, or high computational effort. The controller is evaluated over twelve winter weeks for a German single-family household and benchmarked against a rule-based controller and an ideal-forecast model predictive controller. Results show improved thermal comfort and lower electricity costs compared to the rule-based controller. Compared to model predictive control, the proposed controller reduces fuel cell operating hours and toggling counts, leading to more practical system operation. Overall, the proposed controller achieves a favorable trade-off between control performance and implementation complexity, combining low information requirements with improved comfort, storage use, and coordinated fuel cell-heat pump operation.

eess.SY↗

A Heuristic for Scheduling Autonomous Vehicles at Intersections

We consider the coordination of autonomous vehicles at unsignalized intersections, where trajectory planning and crossing-order decisions are intrinsically coupled, thereby making their simultaneous optimization intractable in practice. To this end, we propose a heuristic based on a hierarchical structure consisting of a series of nonlinear programs (NLP) in the lower level, which optimizes trajectories of each vehicle for a given crossing order, and a high-level heuristic to design new crossing schedules that exploits sensitivity information from the lower-level NLPs. Extensive numerical simulations across a broad range of traffic scenarios demonstrate that our strategy achieves substantially improved scheduling with respect to first-in-first-out ordering while preserving computational tractability.

eess.SY↗