Manuscript Offprint
arXiv:2610.13480A Scalable Learned Iterative Solver for Nonlinear MPC via Temporal Decomposition
ARTICLE INFO
Keywords:
Constrained optimization
Machine learning
Model predictive control
Learning to optimize
Neural networks
ABSTRACT
Nonlinear model predictive control (NMPC) can be applied to large nonlinear systems with complex objectives while enforcing constraints, but the cost of solving the underlying optimization problems limits real-time application for systems with fast dynamics or many states.
Neural networks can reduce this online cost by approximating the control law, but may violate constraints and typically require many precomputed optimizer solutions for training. The learning-based iterative solver for constrained optimization (LISCO) instead learns to predict primal-dual steps toward satisfaction of the Karush-Kuhn-Tucker (KKT) conditions through self-supervised training without precomputed solutions, but its dense, monolithic architecture grows with the prediction horizon.
We remove this horizon dependence by exploiting the temporal structure of the problem in the solver architecture, which makes the network size independent of the horizon while leaving the training loss and the solver iteration unchanged. A closed-loop resampling strategy further aligns the training distribution with closed-loop operation at no additional sampling cost.
On an economic NMPC benchmark of a CSTR cascade, the proposed solver scales to larger problems than monolithic LISCO and achieves median speedups of up to a factor of four over IPOPT. In closed loop, it achieves comparable control performance to IPOPT with no observed constraint violations.
The online cost of NMPC has been addressed with efficient formulations such as the real-time iteration scheme and fast solvers which exploit the structure of the NMPC problem . These methods lower the online cost substantially, but still require solving structured linear systems at each iteration, with a computational cost that grows with the problem size. For small linear problems, explicit MPC precomputes the control law offline , which does not extend to large nonlinear problems. This motivates learning-based methods, which are fast to evaluate and easy to deploy on control hardware.
Existing learning-based methods can be broadly categorized into two areas, the direct approximation of the solution and the learning of the solver itself. In the first area, a neural network directly predicts the optimization solution or the control input. Approximate MPC follows this approach by approximating the MPC control law, which maps the current state to the first control input of the optimal input sequence [11, 12, 13, 14]. Evaluating the network is often orders of magnitude faster than solving the problem online, but approximation errors can cause constraint violations and suboptimal closed-loop behavior [15, 16], and supervised training typically requires sampling large numbers of optimizer solutions, which is computationally expensive. For constrained optimization more generally, the framework DC3 [17] adds a completion and correction step that reduces constraint violations, but incurs a computational overhead and leaves a residual optimality gap. Primal-dual learning and related self-supervised optimization proxies [18, 19, 20, 21] remove the need for sampled optimizer solutions. However, their direct predictions can still be infeasible or suboptimal. A further line of work learns an initial guess that warm-starts a classical solver [22, 23, 24], which accelerates the solution but still requires an online solver.
In the second area, an update map or algorithm is learned and applied iteratively, so that the residual can be recomputed and monitored online. In the learning-to-optimize (L2O) literature, the iteration map itself is learned, mostly for unconstrained problems such as neural network training [25, 26]. Related approaches tune or optimize the hyperparameters of a given algorithm [27, 28] or unroll it and fit the parameters of the unrolled scheme [29, 30]. In these cases, learning builds on a prescribed optimization algorithm to accelerate the solution process. In our previous work, we introduced the learning-based iterative solver for constrained optimization (LISCO), tailored to constrained nonlinear programs (NLP) and applied to NMPC [31, 32]. It learns a primal-dual update map for a modified Karush-Kuhn-Tucker
*Corresponding author
lukas.lueken@tu-dortmund.de (Lukas Lüken);
sergio.lucia@tu-dortmund.de (Sergio Lucia)
ORCID(s): 0009-0004-5599-8282 (Lukas Lüken); 0000-0002-3347-5593 (Sergio Lucia)
L. Lüken, S. Lucia
Page 1 of 16
(KKT) residual, is trained self-supervised without sampled optimizer solutions, and produces full primal-dual iterates that support a residual-based stopping criterion. Each iteration is a single network evaluation and therefore requires no linear system solve. This approach has since been applied to mixed-integer and robust NMPC [33].
However, LISCO remains monolithic, as one dense network maps the full primal-dual residual to the full step. The input and output layers of such a network grow with the primal-dual dimension and therefore with the horizon, so the network size and the training effort have to grow with the problem [31]. Consistent with this, in our previous work we observed decreasing speedups over IPOPT [34] as the horizon length increased, with larger networks and more training epochs required to retain convergence [31]. Classical solvers such as IPOPT exploit the block-banded KKT structure induced by the dynamics and stage-wise costs and constraints using sparse linear algebra, e.g. MA27 [35], whereas the learned solver has so far not made use of this temporal structure. In this work, we close this gap by incorporating the temporal structure of the NMPC problem into the learned update map.
Classical decomposition methods, such as the alternating direction method of multipliers [36] and overlapping Schwarz schemes [37, 38, 39], also exploit the temporal locality of optimal control problems, but rely on local subproblem solves, multiplier updates or explicit coordination at solve time. The proposed solver handles this coupling through overlapping residual windows and overlap averaging within the learned update map, so the solver iteration and the self-supervised training loss remain unchanged.
The contributions of this paper are as follows.
-
We introduce a learned primal-dual solver for NMPC based on temporal decomposition. A shared neural network computes local updates in parallel on overlapping segments of the prediction horizon. Combining these local updates yields a full primal-dual step, while sharing the network across segments makes its size independent of the prediction horizon.
-
We extend the self-supervised training by a closed-loop resampling strategy, in which the initial state of a converged training sample is replaced by the predicted next state instead of being resampled uniformly. Since this state is already contained in the converged primal-dual iterate, the training distribution is aligned with closed-loop operation at no additional sampling cost.
The remainder of this paper is structured as follows. We introduce the NMPC problem, its formulation as a parametric NLP with the modified KKT residual, the monolithic LISCO solver and the block-banded structure of the NMPC KKT system in Section 2. Next, we present the proposed architecture and its training in Section 3, describe the CSTR-cascade benchmark and the computational studies in Section 4, report the results in Section 5, and conclude in Section 6.
2. Background
2.1. Nonlinear Model Predictive Control
Consider a discrete-time system with initial condition , states , inputs , dynamics and time index . The input sequence is determined by solving the finite-horizon NMPC problem (1), with stage cost , terminal cost , the discretized dynamics as equality constraints, and inequality constraints [3]:
Following the receding-horizon principle, the problem is solved at the current state , the first input is applied, and the procedure is repeated at the next sampling instant, which defines the implicit control law:
A direct alternative to solving (1) online is to approximate the control law itself. Approximate MPC fits a neural network with parameters to the map from the initial state to the first control action, using precomputed optimizer solutions as training targets, so that evaluating the network online replaces solving the optimization problem [12, 15]:
It is often orders of magnitude faster than solving (1) online, but leads to approximation errors that may result in constraint violations or loss in performance.
2.2. Parametric Nonlinear Optimization and Optimality Conditions
The NMPC problem (1) can be rewritten as a parametric nonlinear program (4) with objective , decision variables , parameters , inequality constraints and equality constraints , all assumed smooth and possibly nonconvex:
Collecting the primal variables and the equality and inequality multipliers into the primal-dual vector and writing the Lagrangian , the first-order optimality conditions are the KKT conditions (5):
L. Lüken, S. Lucia
Page 2 of 16
To solve the parametric NLP (4) for a given parameter p, iterative solvers are used to drive the KKT residual to a given tolerance [40]. These iterative solvers are generally described by the following iterative update rule:
with iterate , step and step size .
The NMPC problem (1) is an instance of (4) under the identification and , where the state and input trajectories are the decision variables, the initial state is the only parameter, the discretized dynamics are the equality constraints, and the stage constraints are the inequality constraints.
2.3. Modified KKT Residual
The KKT conditions (5) contain inequalities (5c), (5d) and the complementarity condition (5e), which hinder the direct application of root-finding methods for nonlinear systems of equations that drive the residual to zero. The penalized Fischer-Burmeister function (7) replaces the inequality and complementarity conditions by a single equation per inequality constraint [41, 42, 43]:
(7)
where and and is the penalization parameter and the smoothing parameter to improve conditioning. For , the Fischer-Burmeister term is smooth, while the penalty term remains nonsmooth for . For any , satisfaction of ensures that and and acts as a slack on the complementarity condition such that for and for .
Replacing the inequality, dual-feasibility and complementarity conditions with yields the modified KKT residual (8), whose zeros recover the original KKT conditions in the limit :
For , a zero residual instead certifies a modified KKT point, whose distance from the exact KKT point grows with [44]. This distance of the modified KKT point from the exact KKT point does not affect the constraint satisfaction of the original problem, because even for , a zero residual certifies that the equality and inequality constraints are satisfied to the same tolerance as the original KKT conditions, with acting as a slack on the complementarity condition and thereby affecting the optimality gap but not the feasibility of the solution.
2.4. Learning-Based Iterative Solver for Constrained Optimization (LISCO)
Our previously proposed learning-based iterative solver for constrained optimization (LISCO) predicts the step via a neural network with parameters [31, 32]. At each iteration the network takes the current residual (8) as its input and returns the step, which is applied to the iterate according to the update rule (6). We call this architecture monolithic because a single network maps the entire residual to the entire step. Since every iterate is a full primal-dual vector, the residual can be recomputed after each step and used as a stopping criterion, and each iteration requires one network evaluation with no linear-system solve. Figure 1 illustrates this.
Over the course of a solve, the residual can span many orders of magnitude, which would make it a poorly scaled input. The network therefore receives the residual split into a direction and a magnitude, the normalized residual and the logarithm of its norm :
The output is rescaled by the residual norm, so that the step is large when the residual is large and shrinks to small corrections as the residual approaches zero:
with and a fixed problem-specific factor . The exact input scaling and the numerical safeguards are described in [31].
The network is trained without precomputed optimizer solutions. For each training sample s, with parameter and current iterate , one step produces the next iterate . The loss measures the residual at this iterate, thereby training the network to reduce the residual toward zero, where the modified KKT conditions hold. The per-sample loss (11) and the batch loss (12), averaged over a mini-batch of parameter samples, are
The logarithm limits the variation in the loss across the orders of magnitude spanned by the residual, and the offset avoids numerical issues near a zero residual. Because the loss is evaluated on the residual after the full step, the network learns to predict steps of appropriate magnitude at , and the line search is kept only as a safeguard.
L. Lüken, S. Lucia
Page 3 of 16

Figure 1: Monolithic LISCO update map. From the parameters p and the current iterate , the modified KKT residual (8) is evaluated and a single dense network maps it to the full primal-dual step , which updates the iterate. Iterating this map drives the residual to the tolerance. The decomposed map proposed in this work is shown for comparison in Figure 2.
Local minima of the per-sample loss coincide with iterates that satisfy the modified KKT conditions, so the training target is well-posed (Lemma 1 of [31]). During training, the predicted steps are applied to the current iterate, so each iterate is generated by the solver itself. This forward sampling trains the network on the iterates that occur at inference. Once a sample reaches the tolerance, its parameter is resampled and the initial iterate is reset. Section 3.4 describes the parameter resampling distribution and its closed-loop modification.
2.5. Block-Banded Structure of the NMPC KKT System
The dynamics of the NMPC problem (1) couple only consecutive stages, where each equality constraint relates to and , so the coupling is limited to neighboring stages along the horizon. Additionally, if the inequality constraints are formulated as stage constraints, such as box constraints on the inputs and states, then the staged structure induces a partition of the primal-dual vector into equally sized stages:
with and . The per-stage dimensions are , for the state dynamics, and for the inequality constraints. This partition assigns each stage exactly one input , one state , one dynamics constraint and its multiplier , together with the stage-local inequality constraints and their multipliers .
We group the residual components according to the stage partition of the primal-dual vector:
Each stage residual has the same dimension as the stage block .
The discretized dynamics involve , and and therefore couple stages and through , while the stage cost also contains elements from stages ( ) and ( ). The stationarity row of involves and and so couples stage to stage . The stage constraints depend only on the current stage . Therefore, no coupling extends further than one stage, which gives the bandedness:
Consequently, every generalized Jacobian of with respect to is block-tridiagonal in the stage index, with stage bandwidth one. Optimizers such as IPOPT [34] exploit this sparsity by utilizing sparse linear solvers such as MA27 [35] to reduce the computational complexity of solving the KKT system.
While this sparse structure is inherent to the NMPC problem (1), the monolithic update (10) does not exploit it and instead couples every residual entry to every entry of the step, so the input and output dimensions of grow linearly in N. Under the usual choice that the hidden layers are at least as wide as the input and output dimensions, the parameter count then grows at least quadratically in N [31].
3. A Learned Solver for NMPC via Temporal Decomposition
To exploit the block-banded structure of the NMPC problem (1) (see Section 2.5), we decompose the update map along the horizon. Figure 2 illustrates the main idea. A
L. Lücken, S. Lucia
Page 4 of 16

Figure 2: LISCO update map with temporal decomposition. The global modified KKT residual (8) is split into overlapping stage windows. A single shared network is evaluated on all windows in parallel. The overlapping predictions are combined by the fixed averaging operator. The per-stage magnitude and the global step scaling are restored to form the primal-dual step.
shared neural network computes local primal-dual updates from overlapping windows of residuals from consecutive stages, and these local predictions are combined into a full update. The network is evaluated on all windows in parallel, and predictions for stages covered by multiple windows are averaged. Because the network is shared, its input and output sizes depend only on the window length and remain independent of the horizon. The outer iteration (6), the residual (8) and the training loss (12) are kept exactly as in the monolithic solver [31], so only the map from the residual to the step (10) is replaced. The following subsections define the overlapping windows illustrated in Figure 3, the shared network and the averaging of local predictions.
3.1. Windows and Local Residual Features

Figure 3: Time decomposition of the horizon. The stage-partitioned primal-dual iterate is covered by overlapping windows of consecutive stages, shifted by the stride , so consecutive windows overlap in stages (red). A stage that lies in two windows, such as stage 2, receives one prediction per window, and these are averaged into a single step by the merge operation (25). The number of windows is .
The proposed decomposition introduces two hyperparameters, the window length m and the stride s. A window is a set of m consecutive stages of the horizon, and consecutive windows are shifted by s stages, giving the window stage sets
for , where M is the resulting number of windows. We index stages by i, windows by j, and local positions within a window by l, while k is the solver iteration.
The windows are chosen to cover the horizon with an overlap of stages between consecutive windows, as shown in Figure 3. The windows must satisfy the following admissibility conditions:
The set collects the pairs of windows and local positions inside these windows that map to stage and is defined as
for all . The predictions of the windows in are merged into a single step for each stage by taking the average as described in Section 3.2, for the positions that overlap.
Using the stage partition (14), the per-stage residual , its norm , and its normalization are given as follows:
for . Unlike the input transformation of the monolithic solver (9), which is applied once globally, the per-stage features (20) are computed for every stage i and then collected into windows.
The stage residual does not encode its position in the horizon. A single shared network therefore cannot determine
L. Lüken, S. Lucia
Page 5 of 16 where a window lies in the horizon, yet the stages are not interchangeable, since the stages near the beginning and end of the horizon play different roles, particularly because of the initial condition and horizon boundary. We therefore augment the window input with positional information that contains the stage indices of the window, so that the shared network can distinguish otherwise identical residuals occurring at different positions. For each stage i in a horizon of length N, the positional information is defined as:
which is normalized by , so its range does not change with the horizon length.
The window input consists of the normalized stage residuals of the window j, their log-magnitudes, and the positional information of the stages at iteration k:
The dimension of is therefore and is set by the window length . The problem parameter is passed to every window, as in (10).
3.2. Shared Update Network and Step Averaging
The shared network maps the window input and the problem parameters to a vector of predictions for the stages in window :
(23)
where the tuple denotes vector concatenation. Each block is the prediction from window for stage , before averaging and rescaling. For fixed window length , stage dimension and parameter dimension , the network dimensions are independent of :
If , these inputs and outputs are significantly smaller than the input and output dimensions of the monolithic solver, which depend linearly on the full horizon length N. The M network evaluations are independent and can be executed in parallel.
For , a stage lies in several windows, so multiple predictions are available for the same stage block and must be combined. The overlapping predictions are merged by taking the average:
where is the number of windows that simultaneously cover stage . The merge is applied both during training and
Algorithm 1 Solver iteration with temporal decomposition
Require: Parameter p, initial iterate , trained weights , window length m, stride s, tolerance , cap
1:
2: while and do
3: {Eq. (8)}
4: Split into stages and form {Eq. (20)}
5: Gather window inputs for {Eq. (22)}
6: for all j in parallel {Eq. (23)}
7: average over {Eq. (25)}
8: {Eq. (26)}
9: {Eq. (6)}
10:
11: end while
12: return
at inference, allowing the network to learn predictions that are consistent across overlapping windows.
The resulting update for stage i is therefore given by the merged prediction , scaled by the per-stage magnitude and the global factor :
The decomposed solver scales each stage by its own magnitude , in place of the single global magnitude of the monolithic solver, so a stage whose residual is already small is scaled independently of one whose residual is still large. For numerical robustness, a cap bounds the per-stage magnitude. The full update step is then given by
For , the decomposed architecture differs from (10) only in the per-stage residual normalization and scaling, and the inclusion of the positional information. In this case there is a single window:
Algorithm 1 summarizes the decomposed solver. Relative to the monolithic solver, lines 4 to 8 implement the window construction, parallel network evaluation, and merging. The shared neural network is evaluated on all M windows in parallel as described in line 6, and the resulting predictions are merged into a single step in lines 7 and 8. The decomposition requires no communication between windows, inner iterations, or local subproblem solves. Within an iteration the only coupling between windows is the merge (25). Across iterations, the only coupling is the recomputation of the global residual. The iteration runs until the residual norm falls below the tolerance or the iteration cap is reached, with by default. The line-search safeguard applied in the reported computational studies is described in Section 4.4.
L. Lüken, S. Lucia
Page 6 of 16
3.3. Self-supervised Training
We train the shared network using the self-supervised loss from our previous work [31], summarized in Section 2.4. The loss (12) measures the residual of the full problem after the decomposed update and is averaged over a batch of primal-dual iterates. The residual and stopping criterion retain their interpretation from the monolithic solver, since a zero residual still certifies a modified KKT point. Training iterates are generated by the forward sampling strategy of Section 2.4, which uses the solver's own iterates to cover a broad range of residual magnitudes.
3.4. Closed-Loop Resampling
The forward sampling strategy of Section 2.4 generates training iterates by applying the learned solver to sampled problems. In the original training procedure, the parameters defining these problems are resampled uniformly. For the NMPC formulation considered here, the problem parameter is the initial state, . During closed-loop operation, these initial states are the states visited by the controller. In economic NMPC in particular, the controller may drive the system to a steady state on the boundary of the feasible set, and such states with several simultaneously active constraints are rarely produced by uniform sampling over the state space. A solver trained on uniformly sampled initial states therefore encounters a distribution shift in closed-loop operation.
To align the training distribution, we modify the training resampling strategy by introducing a reset probability , as summarized in Algorithm 2, which extends the self-supervised training procedure of our previous work [31]. Whenever a sample reaches the training tolerance , the initial state of the next training problem is set to the predicted next state of the converged solution with probability . With probability , a new initial state is sampled uniformly instead. Since is a component of the primal solution , this state is available in the converged iterate at no additional cost, and the expected trajectory length is steps. For , every converged sample is replaced by a uniformly resampled parameter, which recovers the uniform training distribution from our previous work [31].
Two safeguards bound the effort spent on a single sample, the iteration cap on the number of steps and the stall cap on the number of steps without improvement of the residual. A sample that reaches either cap is treated as non-converged and resampled uniformly.
4. Case Study
We evaluate the proposed method on the economic NMPC of a cascade of continuous stirred-tank reactors (CSTR). The studies investigate horizon and system-size scaling, smoothing, window length and overlap, and closed-loop control performance. We compare against monolithic LISCO, IPOPT [34] with MA27 [35], and, in closed loop, approximate MPC.
Algorithm 2 Self-Supervised Solver Training with Closed-Loop Resampling ( recovers uniform resampling)
Require: Batch size , tolerance , iteration cap , stall cap , reset probability
1: Sample , initialize the iterates , set
2: for each training step do
3: for all {Eq. (6), }
4: Update by a stochastic gradient step on {Eq. (12)}
5: for each sample do
6: ,
7: if improves on its best value so far, else
8: if then
9: with probability , otherwise resample
10: Reset to the initial iterate,
11: else if or then
12: Resample , reset to the initial iterate,
13: end if
14: end for
15: end for
16: return trained solver
4.1. CSTR Cascade Process Model
We consider a cascade of continuous stirred-tank reactors as presented in [45]. A solvent stream enters the first reactor and passes through the cascade, and the reactants A and B are fed into every reactor separately. Two reactions take place. The first reaction, , produces the desired product R, whereas the second reaction, , produces the undesired side product S. The objective is to maximize the production of R, minimize the production of S, limit control effort, and satisfy constraints on the states and inputs.
The states of each reactor are the concentrations of the four species, , , , in mol/L, and the reactor temperature in °C. The inputs are the molar feed rates and of A and B, respectively, in mol/s. All reactors have equal volume , so the total reactor volume is independent of the cascade length. We consider a fixed jacket temperature shared by all reactors. Stacking the per-reactor states and inputs gives the following vectors and dimensions:
L. Lüken, S. Lucia
Page 7 of 16
The reaction rates and follow Arrhenius kinetics, with pre-exponential constants and activation energies :
The product reaction is second order overall, first order in each reactant, while the side reaction is second order in A alone.
The ordinary differential equations (ODEs) for the -th reactor are given as follows:
for .
We impose the cascade boundary conditions and , with the dilution rate . Thus, the stream entering the first reactor contains no reactants or products and has the inlet temperature, so the same balance equations apply to the first and all downstream reactors. The balances in (31) account for convection from the upstream reactor, outflow from the current reactor, reaction production and consumption, and the feeds of A and B. The temperature balance additionally includes jacket heat transfer and reaction enthalpies. Because the balance for reactor depends only on reactors and , the cascade has local spatial coupling. This spatial structure is not exploited in the present work and is left for future investigation. Stacking the balances of all reactors gives the continuous-time model .
The model is discretized using an implicit Euler scheme with step as follows:
which defines the discrete dynamics used in (1) with time and stage index . We use one implicit-Euler step per NMPC interval. The resulting discrete state equations form equality constraints of the NLP and preserve the stage structure of Section 2.1. In this case study, we use s. The physical parameters are given in Table 1. The reactors are cooled, since the jacket temperature is below the inlet temperature, and both reactions are exothermic.
Table 1 Parameters of the CSTR cascade model. The first reaction is denoted by subscript 1 and the second reaction by subscript 2.
| Symbol | Value [Unit] | Description |
|---|---|---|
| study dependent [-] | Number of reactors | |
| 1.0 [s] | Discretization step | |
| 15 [L] | Total reactor volume | |
| 1 [L/s] | Volumetric flow rate | |
| 2 [L/(mol s)] | Rate constant | |
| 2 [L/(mol s)] | Rate constant | |
| 500 [J/mol] | Activation energy | |
| 600 [J/mol] | Activation energy | |
| 8.3145 [J/(mol K)] | Universal gas constant | |
| -100 [kJ/mol] | Reaction enthalpy | |
| -50 [kJ/mol] | Reaction enthalpy | |
| 2 [kW/K] | Heat transfer coeff. × area | |
| 1 [kg/L] | Density | |
| 0.5 [kJ/(kg K)] | Heat capacity | |
| 50 [°C] | Jacket temperature | |
| 60 [°C] | Inlet temperature |
4.2. Economic NMPC Formulation
The economic NMPC considered here is an instance of the NMPC problem (1) with the discrete model (32), without a terminal cost and terminal constraints. The parameter is the current state, so , and the initial state is eliminated from the decision vector and enters only the first dynamics constraint through .
We use the following economic stage cost, with the weights , , and :
where and are the product and side-product concentrations of the last reactor and , are the feed rates of all reactors at stage . Only the concentrations in the last reactor enter the product-related terms because this reactor defines the cascade outlet. The feed of B is not penalized, , and is limited only by its bounds. Since the objective is economic with strong weights on the maximization of the product and minimization of the side product, the NMPC drives the system to a steady state on the boundary of the feasible set.
Each dynamics constraint couples , and , which is the nearest-neighbor coupling of the stage partition (13). The inequality constraints in (1) are formulated as box constraints on the states and inputs. Since the physical variables differ by orders of magnitude, from concentrations of order to temperatures of order 10^{2} ^{\circ}\mathrm{C}, the resulting NLP may be ill-conditioned. To improve the conditioning, the decision variables are scaled so that their typical values lie roughly between 0 and 1. The
L. Lüken, S. Lucia
Page 8 of 16 scaling ranges and the bounds of the decision variables are given in Table 2.
Table 2 Scaling ranges and decision variable bounds. The listed scaling ranges are mapped to [0, 1].
| Variable | Unit | Scaling range | Bounds |
|---|---|---|---|
| mol/L | [0, 0.1] | [0, ∞) | |
| mol/L | [0, 1] | unconstrained | |
| mol/L | [0, 4] | unconstrained | |
| mol/L | [0, 1] | unconstrained | |
| °C | [20, 80] | [20, 80] | |
| mol/s | [0, 1.5] | [0, 1.5] | |
| mol/s | [0, 1.5] | [0, 1.5] |
The resulting per-stage dimensions of the stage partition (13) as a function of the number of reactors are
4.3. Computational Studies
The decomposed solver is evaluated in four computational studies, which investigate the scaling with the horizon and the number of reactors, the effect of the smoothing parameter , the influence of the window length and stride, and the closed-loop control performance. Throughout these studies, four methods for solving the NMPC problem (1) are compared. Monolithic LISCO is the architecture presented in our previous work [31]. The decomposed solver of Section 3 is the proposed method and we use IPOPT [34] as the NLP-solver baseline. Approximate MPC maps the initial state directly to the first control action, is trained by imitation learning on precomputed optimizer solutions, and is considered only in the closed-loop comparison. The code for reproducing all studies is openly available.
All controllers are based on the same NMPC formulation and are evaluated on the same parameter samples, so speedups are compared per problem instance. The two learned solvers use the same hidden architecture, consisting of two hidden layers of 1024 units with GELU activation [46], and share the same training budget, optimizer settings, loss (12), resampling strategy, and evaluation settings. Their input and output layers necessarily differ, since by (10) the monolithic network maps the full residual to the full step, so these layers scale with , whereas by (24) the decomposed network processes a single window and is independent of . The monolithic network therefore carries more trainable parameters than the decomposed one, with the gap widening with and . Parameter counts and training times are reported per configuration in Section 5.1.
IPOPT is configured with the sparse symmetric-indefinite linear solver MA27 from the HSL library [35], which exploits the block-banded structure of (15), at a tolerance of . Comparing solve times between the learned solvers and IPOPT further requires that both target a comparable accuracy. The learned solver runs at a fixed smoothing , which relaxes the complementarity condition by up to , and the interior-point barrier parameter plays the same role for IPOPT, so the barrier target is set to . With this gives , which is used in the horizon-scaling and closed-loop studies.
In all studies, the solvers are cold-started to directly measure the quality of the predicted steps rather than the quality of an initial guess. The learned solvers initialize the primal variables at the midpoint of the scaling ranges and the multipliers at zero, in training and at inference, and IPOPT starts from its default initialization.
The horizon-scaling study evaluates how solver performance scales with the horizon length and the number of reactors . Monolithic LISCO and the decomposed solver are trained and then evaluated alongside IPOPT for the horizon lengths and the reactor counts , with all remaining settings fixed by Table 3. Training effort, parameter counts, convergence and solve times are reported in Section 5.1.
The choice of the smoothing parameter involves a trade-off, as larger values improve the conditioning of the residual but relax the complementarity condition further. This trade-off is quantified in the smoothing study, in which the decomposed solver is trained and evaluated for a sweep of at a fixed configuration with and . The resulting optimality gap is evaluated in Section 5.2 against IPOPT, which serves here as the objective reference and is therefore run at a tolerance of without an increased barrier parameter.
In the overlap study, we vary the window length and the stride of the decomposition, which determine the locality of the update map and the number of predictions per stage. This study considers only the decomposed solver, with all remaining settings taken from Table 3, and the results are reported in Section 5.3.
In the closed-loop study, we apply the decomposed solver as an NMPC controller and compare it to IPOPT and approximate MPC. The three controllers start from the same set of 50 uniformly sampled initial states at a fixed configuration with and . Each trajectory is simulated for 50 steps, and the closed-loop cost and constraint violations are compared in Section 5.4. In this study, the decomposed solver is trained with the closed-loop resampling of Section 3.4 at , so the expected trajectory length of 50 steps during training matches the simulation length. All remaining studies use uniform resampling with . To isolate the effect of the training distribution, a second solver trained with uniform resampling and otherwise identical settings is evaluated in the same closed-loop setting. Approximate MPC, as introduced in Section 2.1, is trained on closed-loop data.
https://github.com/lukaslueken/lisco-decompose
L. Lüken, S. Lucia
Page 9 of 16
We collect 150000 optimizer solutions from 3000 closed-loop trajectories with uniformly sampled initial states and 50 steps each. These solutions are generated with IPOPT using a tolerance of and a barrier target of to match the accuracy of the learned solvers and the IPOPT baseline. Its training uses the same hidden network architecture as the learned solvers, a batch size of 1024, a learning rate of and 2500 epochs. Generating its training set requires solving the NLP for every sample, sequentially along each trajectory, whereas the loss (12) requires no reference solutions. Section 5.4 compares the resulting offline computational effort.
4.4. Training, Evaluation and Implementation
All four studies share one configuration, which is listed in Table 3. The overlap and closed-loop studies use reactors, while the smoothing study uses . The horizon-scaling study varies the number of reactors. Following Algorithm 2, the training loop evaluates the loss after applying one solver step, then applies these steps to the current iterates and resamples the parameters of samples that reach the tolerance , the iteration cap or the stall cap . The number of epochs scales with the horizon as , so that for longer horizons, training takes proportionally longer, with the same rule for both learned architectures. The default window length and stride, and , are used in all studies except the overlap study, which examines the influence of this choice. The NLP and its residuals are evaluated in double precision, while the network operates in bfloat16. This halves the network memory relative to single precision without a meaningful loss in accuracy, since the network output is scaled relative to the residual magnitude and the residual itself is evaluated in double precision. All runs use s, so the horizon length and the predicted time interval scale together.
While the objective function (33) is convex, the nonlinear dynamics (32) cause the NLP to be nonconvex. Therefore, the Hessian of the Lagrangian can be indefinite, and Assumption 5 of [31], which underlies the well-posedness result of Section 2.4, may not hold. To keep the training problem well-posed, we form the training gradient with the convexification and regularization of [31]. We replace the Hessian of the Lagrangian with the objective Hessian, which is diagonal with entries on the feed rates of A and zero elsewhere, and add to its diagonal with the regularization factor so that it is positive definite. We further apply the same dual regularization as in [31] with factor to improve the conditioning of the KKT matrix during training when the multipliers grow large. Both modifications act only on the gradient used to update the network during training and leave the residual (8) unchanged, so convergence at inference and all reported results are those of the original problem.
For the evaluation, a problem instance is drawn by uniformly sampling the initial state from the scaling ranges listed in Table 2 and retaining it only if IPOPT finds a feasible solution, so that all controllers are compared on instances known to be feasible. The iteration cap is 300 in the horizon-scaling, smoothing and closed-loop studies and 200 in the overlap study. A sample that does not reach the tolerance within the iteration cap is counted as non-convergent rather than discarded, so the convergence fraction and the timing statistics refer to the same sample set. For a non-convergent sample, the solver returns the iterate with the lowest residual norm encountered, whose first input is applied in the closed-loop simulation. The reported solve times include all necessary computations for its implementation: residual evaluation, feature construction, network evaluation, merging, scaling and the iterate update, over all iterations until the tolerance is met. The one-time setup and compilation times are excluded. Timings are measured on single instances without batching, because an NMPC controller solves one problem per sampling instant. The learned solvers apply their steps with a two-way backtracking line search. The default step size is , and it is reduced by a factor of 0.95 only if the residual norm of an iterate exceeds the best value reached so far by at least a factor of 10. Once the residual decreases again, the step size is increased by a factor of per iteration, up to a maximum of 1. Since the solver is trained to predict steps of appropriate size, the line search is activated only for rare, ill-conditioned instances.
Table 3 Shared configuration of all studies.
| Group | Setting | Value |
|---|---|---|
| Network | hidden layers precision | 2 × 1024, GELU [46] bfloat16 |
| Solver | step scaling γ | 0.1 |
| norm clamp ηmax | 100 | |
| smoothing ε | ||
| penalization ρFB | 0.8 | |
| window m / stride s | 5 / 1 | |
| Training | epochs | 6000 N |
| batch size | 256 | |
| optimizer | AdamW [47] | |
| learning rate | ||
| regularization | ||
| loss offset σ | ||
| reset prob. qreset | 1 (0.02 closed loop) | |
| tolerance δtrain | ||
| stall cap Nstall | 2 | |
| iteration cap Nmax | 1000 | |
| Evaluation | samples | study specific |
| tolerance δ | ||
| iteration cap | study specific | |
| initialization | cold start |
All computational studies are run on an AMD Ryzen 9 9950X with 16 cores and an NVIDIA GeForce RTX 4090 under WSL2. The NLP, its derivatives and the modified KKT residual are implemented in CasADi [48], the networks in PyTorch [49], and during training the CasADi functions are evaluated in parallel over the batch on the GPU via cusadi
L. Lüken, S. Lucia
Page 10 of 16
[50], so the GPU is used only during training. At inference, all computations run on the CPU, where the KKT functions are executed as C code generated by CasADi, the solver iteration together with the decomposition and merge logic is compiled with Numba [51], and the network is evaluated in bfloat16 with PyTorch. The learned solvers and IPOPT are thus compared on the same hardware.
5. Results
5.1. Horizon and Problem-Size Scaling
For the horizon-scaling study, we train the monolithic and decomposed solvers for the horizon lengths and the reactor counts and evaluate them against IPOPT, with all remaining settings fixed by Table 3. Table 4 lists the convergence fractions, the trainable parameter counts and the training times of the learned solvers, and the solve times are shown in Fig. 4 and Table 5.
The proposed decomposed solver reaches the residual tolerance on all 256 evaluation samples for every combination of horizon length and reactor count. The monolithic solver converges on all samples only at and , on 94.5% and 99.6% of the samples at and , and on no sample in the remaining configurations. No monolithic runs are conducted at , since the architecture already fails to converge at shorter horizons under the given network size. Both learned solvers share the hidden architecture and the training budget of Table 3, and the monolithic network has up to 5.2 times as many trainable parameters, with 10.81 versus 2.06 million parameters at and , the largest configuration with a monolithic run, because its input and output layers grow with by (10). To restore convergence, the monolithic network and its training effort would have to grow with the problem size [31]. The decomposition avoids this cost, as the input and output dimensions of the shared network are set by the window length through (24). Since the number of epochs scales with , the training times grow with the horizon and reach 2.81 hours for the decomposed solver at and . For the same number of training epochs, training the decomposed solver takes 1.16 to 1.75 times longer than training the monolithic solver, since the shared network is evaluated times per step, once per window, which outweighs its smaller size.
Fig. 4 shows the CPU solve times over the horizon length at , and Table 5 lists the timing statistics for all configurations. All solvers run on the same CPU, and IPOPT is configured for a comparable relaxation using the barrier target of Section 4.3. Under these conditions the decomposed solver achieves lower median solve times than IPOPT with MA27 in every configuration, with median speedups between 1.68 and 4.11, the largest occurring at and N = 20. The advantage also holds for the upper tail of the solve-time distribution, as the 95th percentile solve time of the decomposed solver lies below the median solve time of IPOPT in every configuration, with similar tail behavior across the reactor counts. The per-sample speedup remains above one in every configuration except at and , where its minimum is 0.52 and 1.00, respectively. In each iteration of the decomposed solver, the shared network is evaluated in parallel for M windows, and the reported times include this cost. The measured times remain specific to the hardware and implementation of Section 4.4.
We use the same window length, stride and hidden architecture at every reactor count, without retuning the decomposition. The size of the decomposed network is independent of the horizon length and grows only mildly with the reactor count through the stage dimension of (34). The convergence of the decomposed solver is unaffected by the reactor count, and its median solve times increase from 3.44 ms to 4.81 ms at . As shown in Table 5, the median speedup over IPOPT increases with the reactor count for every tested horizon length . Further speedups are possible if a good initial guess is provided, e.g. via a predictor strategy as in [31].
Solve Time vs Horizon ( , cpu)

Figure 4: CPU solve time against the horizon length N at for the decomposed solver and IPOPT with MA27, with the median (solid) and the maximum (dotted) over 256 instances per configuration. The monolithic solver is not shown, as it does not converge at .
5.2. Smoothing-Parameter Trade-off
We train and evaluate the decomposed solver for the smoothing parameters at a single problem size with and , with all remaining settings fixed by Table 3. Fig. 5 shows the fraction of converged samples over the solver iterations for each , and Fig. 6 shows the relative objective gap with respect to IPOPT at the final iterate. Since IPOPT serves only as the objective reference in this study and is not included in a timing comparison, we run it at a tolerance of without the increased barrier target of Section 4.3.
The number of iterations required to reach the residual tolerance grows as decreases. At , all 256 samples converge within about 30 iterations, whereas at some runs reach the iteration cap of 300, within which 94.1%
L. Lüken, S. Lucia
Page 11 of 16
Table 4
Training cost and convergence of the monolithic and the decomposed solver at equal hidden architecture and training budget for all reactor counts and horizon lengths . Reported are the trainable parameters , the training times and the fraction of the 256 evaluation samples reaching within 300 iterations, where 0.000 means that no sample reached the tolerance. Dashes mark configurations without a monolithic run.
| N | monolithic | decomposed | |||||
|---|---|---|---|---|---|---|---|
| [M] | [h] | conv. | [M] | [h] | conv. | ||
| 2 | 10 | 1.84 | 0.11 | 1.000 | 1.47 | 0.14 | 1.000 |
| 2 | 20 | 2.62 | 0.23 | 0.945 | 1.47 | 0.27 | 1.000 |
| 2 | 50 | 4.95 | 0.54 | 0.000 | 1.47 | 0.77 | 1.000 |
| 2 | 100 | - | - | - | 1.47 | 2.05 | 1.000 |
| 3 | 10 | 2.23 | 0.12 | 0.996 | 1.67 | 0.15 | 1.000 |
| 3 | 20 | 3.40 | 0.25 | 0.000 | 1.67 | 0.29 | 1.000 |
| 3 | 50 | 6.91 | 0.61 | 0.000 | 1.67 | 0.85 | 1.000 |
| 3 | 100 | - | - | - | 1.67 | 2.31 | 1.000 |
| 5 | 10 | 3.02 | 0.12 | 0.000 | 2.06 | 0.21 | 1.000 |
| 5 | 20 | 4.97 | 0.25 | 0.000 | 2.06 | 0.39 | 1.000 |
| 5 | 50 | 10.81 | 0.99 | 0.000 | 2.06 | 1.19 | 1.000 |
| 5 | 100 | - | - | - | 2.06 | 2.81 | 1.000 |
Table 5
CPU solve times of the decomposed solver (LISCO) and IPOPT with MA27 over 256 instances per configuration, with the primal-dual dimension and the median, 95th percentile and maximum solve times. The speedup is the per-sample ratio on identical instances, reported by its minimum, median and maximum. Both solvers converge on every instance. The monolithic solver is omitted, as it does not converge at most configurations.
| N | [ms] | [ms] | speedup [×] | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| med | p95 | max | med | p95 | max | min | med | max | |||
| 2 | 10 | 380 | 0.89 | 1.29 | 1.66 | 2.65 | 2.92 | 3.39 | 1.64 | 2.99 | 4.14 |
| 2 | 20 | 760 | 1.69 | 1.99 | 6.21 | 3.47 | 3.77 | 4.42 | 0.52 | 2.03 | 2.83 |
| 2 | 50 | 1900 | 3.44 | 3.93 | 4.36 | 5.79 | 6.24 | 6.99 | 1.28 | 1.68 | 2.23 |
| 2 | 100 | 3800 | 6.24 | 9.91 | 10.66 | 10.97 | 11.63 | 12.00 | 1.00 | 1.72 | 2.02 |
| 3 | 10 | 570 | 1.08 | 1.46 | 2.05 | 3.50 | 3.81 | 4.43 | 1.65 | 3.23 | 4.86 |
| 3 | 20 | 1140 | 1.72 | 2.21 | 3.42 | 5.01 | 5.52 | 5.80 | 1.47 | 2.93 | 3.81 |
| 3 | 50 | 2850 | 4.79 | 5.39 | 5.89 | 8.10 | 8.72 | 9.20 | 1.37 | 1.70 | 2.00 |
| 3 | 100 | 5700 | 6.64 | 7.20 | 8.32 | 14.70 | 15.68 | 16.57 | 1.71 | 2.22 | 2.55 |
| 5 | 10 | 950 | 1.80 | 2.38 | 3.79 | 5.17 | 5.58 | 6.04 | 1.39 | 2.86 | 3.77 |
| 5 | 20 | 1900 | 2.27 | 2.83 | 3.34 | 9.37 | 9.80 | 13.99 | 2.67 | 4.11 | 5.44 |
| 5 | 50 | 4750 | 4.81 | 6.66 | 8.03 | 16.80 | 18.35 | 19.12 | 2.24 | 3.56 | 4.55 |
| 5 | 100 | 9500 | 9.29 | 11.00 | 12.05 | 31.11 | 33.81 | 34.96 | 2.55 | 3.43 | 4.26 |
of the samples converge. For all intermediate values of , at least of the samples converge.
An important advantage of the smoothing formulation is that feasibility is not affected by the choice of . As established in Section 2.3, a residual below the tolerance bounds the equality constraints directly and places the inequality constraints on their feasible side for every , so an accepted iterate is feasible to the tolerance level independently of the smoothing. The smoothing relaxes the complementarity condition and thereby affects the solution optimality but not constraint satisfaction, which is an important advantage for control applications. In Fig. 6, the median relative objective gap decreases from approximately at to at and at . For , the gap settles at approximately .
The smoothing parameter therefore trades optimality against convergence speed, while feasibility is retained at every . Based on this sweep, the remainder of the paper uses , which yields the fastest convergence to the tolerance at a median relative objective gap of approximately .
5.3. Decomposition Structure and Overlap
In the overlap study, we train and evaluate the decomposed solver for the window lengths and the strides at , and and report the 90th percentile of the iterations to the residual tolerance over 512 evaluation samples in Fig. 7. Only combinations with are admissible and the divisibility condition of (18) must hold. Thus, the horizon is adjusted to or where does not
L. Lüken, S. Lucia
Page 12 of 16
Convergence fraction ( )

Figure 5: Fraction of the 256 samples reaching the residual tolerance over the solver iterations for the smoothing parameters at and , with an iteration cap of 300.
Final objective gap vs IPOPT

Figure 6: Absolute relative objective gap at the final iterate for the smoothing sweep at and over 256 samples, where denotes the objective of the IPOPT reference solution at tolerance . The line marks the median and the boxes span the 10th to 90th percentile.
satisfy it, and combinations for which no such adjustment exists are absent.
The results show that an overlap consistently lowers the iteration count. At m = 5, the 90th percentile increases from 18 iterations at s = 1 to 80 at s = 5, and the non-overlapping partitions with s = m are the slowest configurations that still achieve the required convergence fraction, with 115, 110 and 80 iterations for m = 2, 3 and 5. The purely stage-local map with m = s = 1 does not reach 90% convergence, as only 81.1% of the samples converge within the cap, so window inputs beyond a single stage are necessary in this case study. At maximum overlap, the lowest iteration count is achieved with a window length of m = 5.
Thus, windows of a few stages suffice for fast convergence in this case study, provided that they overlap sufficiently.

Figure 7: 90th percentile of the iterations to the residual tolerance for different window lengths and strides , with reactors and . Each configuration is evaluated on 512 samples with a maximum number of 200 iterations. The grey cell indicates that fewer than 90% of the samples converge within the iteration limit. Dashes indicate combinations that violate the admissibility condition (18) and were not evaluated. The black outline marks the lowest observed 90th percentile.
5.4. Closed-Loop Controller Comparison
For the closed-loop comparison, we apply the decomposed solver, IPOPT and approximate MPC as NMPC controllers with reactors and a prediction horizon of steps, following Section 4.3. We simulate 50 trajectories of 50 steps each, using the same initial states for all three controllers. These initial states are sampled uniformly over the scaling ranges in Table 2. Each controller therefore executes 2500 steps, over which the mean constraint violations in Table 6 are averaged. Constraint violations are measured on the scaled variables, so a magnitude of corresponds to 10% of the range of the violated variable, and Table 6 reports their mean and maximum for the input and state bounds. Violations below are not counted, since this is below the residual tolerance.
Table 6 lists the resulting costs, solve times and constraint violations. The decomposed solver, trained with closed-loop resampling, reaches the residual tolerance on every executed step, and neither it nor IPOPT violates any constraint. Its mean closed-loop cost of -358.87 differs from IPOPT's -358.44 by only 0.12%. The decomposed solver has a median solve time of 5.2 ms compared to 18.6 ms for IPOPT, corresponding to a speedup factor of 3.6, and its maximum of 11.6 ms remains below the median of IPOPT. These times are consistent with the scaling study of Section 5.1 at the same problem size, where the solver trained and evaluated on the uniform distribution requires a median of 4.81 ms. Approximate MPC requires only 0.08 ms per step and achieves a similar cost to IPOPT, but produces constraint violations (Table 6).
Approximate MPC is trained on 150000 precomputed optimizer solutions, whereas the self-supervised loss (12) requires no reference solutions. Generating this training set
L. Lüken, S. Lucia
Page 13 of 16 takes 0.78 hours, which together with the 1.05 hours of supervised training gives a total offline effort of 1.83 hours for approximate MPC. This exceeds the 0.75 hours of the complete self-supervised training of the decomposed solver.
The economic controller drives the system to a steady state on the boundary of several simultaneously active state constraints, and such states are rarely produced by uniform sampling over the scaling ranges, as discussed in Section 3.4. Table 7 lists the fraction of solves that reach the residual tolerance within the iteration cap, binned by the simulation step, for the solvers trained with closed-loop and with uniform resampling. On the first step, both solvers converge for all 50 uniformly sampled initial states. From the second step onward, the trajectories leave the initial-state distribution, and the convergence of the uniformly trained solver drops to 84.5% on steps 2 to 5, to 0.4% on steps 6 to 10 and to zero beyond step 10, which amounts to 8.8% over all steps. The solver trained with closed-loop resampling converges in every bin.
Table 6 Closed-loop comparison of IPOPT, the decomposed solver (LISCO) trained with closed-loop resampling and approximate MPC trained on closed-loop data, over 50 trajectories of 50 steps each, started from uniformly sampled initial states at and . Reported are the mean closed-loop cost, the per-solve times and the mean and maximum constraint violations on the scaled variables for the input and state bounds, where violations below the tolerance are not counted. The last two rows list the offline data sampling and training times.
| metric | IPOPT | LISCO | approx. MPC |
|---|---|---|---|
| closed-loop cost (mean) | -358.4415 | -358.8662 | -358.4793 |
| solve time median [ms] | 18.61 | 5.20 | 0.08 |
| solve time p90 [ms] | 19.20 | 6.30 | 0.10 |
| solve time max [ms] | 21.41 | 11.62 | 0.43 |
| input viol. (mean) | 0.0000 | 0.0000 | 0.0000 |
| input viol. (max) | 0.0000 | 0.0000 | 0.0002 |
| state viol. (mean) | 0.0000 | 0.0000 | 0.0004 |
| state viol. (max) | 0.0000 | 0.0000 | 0.0060 |
| sampling time [h] | - | - | 0.78 |
| training time [h] | - | 0.75 | 1.05 |
6. Conclusion
We introduced a learned primal-dual solver for NMPC based on temporal decomposition. A shared neural network computes local updates in parallel on overlapping horizon segments. This makes the network size independent of the prediction horizon while retaining self-supervised training without precomputed optimizer solutions. We also introduced a closed-loop resampling strategy that uses predicted next states to align the training distribution with closed-loop operation at no additional sampling cost.
On an economic NMPC benchmark of a CSTR cascade with up to 100 stages and 9500 primal-dual variables,
Table 7 Fraction of closed-loop solves reaching the residual tolerance within 300 iterations, binned by the simulation step, for the decomposed solver trained with closed-loop resampling () and with uniform resampling (), over the 50 trajectories of 50 steps of the closed-loop study.
| step bin | closed-loop trained | uniform trained |
|---|---|---|
| steps 1–1 | 100.0% | 100.0% |
| steps 2–5 | 100.0% | 84.5% |
| steps 6–10 | 100.0% | 0.4% |
| steps 11–25 | 100.0% | 0.0% |
| steps 26–50 | 100.0% | 0.0% |
| all 1–50 | 100.0% | 8.8% |
the decomposed solver converged across all tested problem sizes, including configurations where monolithic LISCO did not, and achieved median speedups of up to a factor of four over IPOPT. With closed-loop resampling, it converged throughout the tested closed-loop trajectories and achieved control performance comparable to IPOPT with no observed constraint violations.
Future work will investigate decomposed prediction of initial iterates for warm-started operation and extend the architecture to scenario trees in robust NMPC and to weakly coupled process networks.
CRediT authorship contribution statement
Lukas Lüken: Writing - original draft, Investigation, Visualization, Software, Methodology, Formal analysis, Conceptualization. Sergio Lucia: Writing - review and editing, Supervision, Conceptualization.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Declaration of generative AI and AI-assisted technologies in the writing process
During the preparation of this work the authors used AI technologies (ChatGPT 5.6, Claude Fable 5 and Opus 5) to assist with grammar, phrasing, and code development. After using these tools, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
Data availability
The code necessary to reproduce the reported results is openly available under https://github.com/lukaslueken/lisco-decompose.
L. Lüken, S. Lucia
Page 14 of 16
References
[1] M. Ellis, H. Durand, P. D. Christofides, A tutorial review of economic model predictive control methods, J. Process Control 24 (2014) 1156–1178.
[2] J. B. Rawlings, D. Angeli, C. N. Bates, Fundamentals of economic model predictive control, in: 2012 IEEE 51st IEEE Conference on Decision and Control (CDC), pp. 3851–3861.
[3] J. B. Rawlings, D. Q. Mayne, M. M. Diehl, Model Predictive Control: Theory, Computation, and Design, Nob Hill Publishing, Madison, Wisconsin, 2nd edition, 2017.
[4] S. Lucia, T. Finkler, S. Engell, Multi-stage nonlinear model predictive control applied to a semi-batch polymerization reactor under uncertainty, J. Process Control 23 (2013) 1306–1319.
[5] M. Diehl, H. G. Bock, J. P. Schlöder, A Real-Time Iteration Scheme for Nonlinear Optimization in Optimal Feedback Control, SIAM J. Control Optim. 43 (2005) 1714–1736.
[6] G. Frison, M. Diehl, HPIPM: A high-performance quadratic programming framework for model predictive control, IFAC-PapersOnLine 53 (2020) 6563–6569.
[7] R. Verschueren, G. Frison, D. Kouzoupis, J. Frey, N. van Duijkeren, A. Zanelli, B. Novoselnik, T. Albin, R. Quirynen, M. Diehl, Acados—a modular open-source framework for fast embedded optimal control, Math. Program. Comput. 14 (2022) 147–183.
[8] A. Zanelli, A. Domahidi, J. Jerez, M. Morari, FORCES NLP: An efficient implementation of interior-point methods for multistage nonlinear nonconvex programs, Int. J. Control 93 (2020) 13–29.
[9] H. J. Ferreau, S. Almér, R. Verschueren, M. Diehl, D. Frick, A. Domahidi, J. L. Jerez, G. Stathopoulos, C. Jones, Embedded Optimization Methods for Industrial Automatic Control, IFAC-PapersOnLine 50 (2017) 13194–13209.
[10] A. Bemporad, M. Morari, V. Dua, E. N. Pistikopoulos, The explicit linear quadratic regulator for constrained systems, Automatica 38 (2002) 3–20.
[11] T. Parisini, R. Zoppoli, A receding-horizon regulator for nonlinear systems and a neural approximation, Automatica 31 (1995) 1443–1451.
[12] B. Karg, S. Lucia, Efficient representation and approximation of model predictive control laws via deep learning, IEEE Trans. Cybern. 50 (2020) 3866–3878.
[13] L. Lüken, D. Brandner, S. Lucia, Sobolev training for data-efficient approximate nonlinear MPC, IFAC-PapersOnLine 56 (2023) 5765–5772.
[14] S. Chen, K. Saulnier, N. Atanasov, D. D. Lee, V. Kumar, G. J. Pappas, M. Morari, Approximating explicit model predictive control using constrained neural networks, in: 2018 Annual American Control Conference (ACC), pp. 1520–1527.
[15] M. Hertneck, J. Köhler, S. Trimpe, F. Allgöwer, Learning an approximate model predictive controller with guarantees, IEEE Control Syst. Lett. 2 (2018) 543–548.
[16] B. Karg, T. Alamo, S. Lucia, Probabilistic performance validation of deep learning-based robust NMPC controllers, Int. J. Robust Nonlinear Control 31 (2021) 8855–8876.
[17] P. L. Donti, D. Rolnick, J. Z. Kolter, DC3: A learning method for optimization with hard constraints, arXiv:2104.12225 (2021).
[18] S. Park, P. Van Hentenryck, Self-supervised primal-dual learning for constrained optimization, Proc. AAAI Conf. Artif. Intell. 37 (2023) 4052–4060.
[19] F. Fioretto, P. V. Hentenryck, T. W. Mak, C. Tran, F. Baldo, M. Lombardi, Lagrangian duality for constrained deep learning, in: Joint European Conference on Machine Learning and Knowledge Discovery in Databases, Springer, 2020, pp. 118–135.
[20] J. Kotary, F. Fioretto, P. Van Hentenryck, B. Wilder, End-to-End Constrained Optimization Learning: A Survey, arXiv:2103.16378 [cs] (2021).
[21] F. Fromme, L. Lüken, S. Lucia, Unsupervised closed-loop primal-dual learning of approximate model predictive controllers, in: 2025 European Control Conference (ECC), IEEE, 2025, pp. 2970–2976.
[22] M. Klaučo, M. Kalúz, M. Kvasnica, Machine learning-based warm starting of active set methods in embedded model predictive control, Eng. Appl. Artif. Intell. 77 (2019) 1–8.
[23] Y. Vaupel, N. C. Hamacher, A. Caspari, A. Mhamdi, I. G. Kevrekidis, A. Mitsos, Accelerating nonlinear model predictive control through machine learning, J. Process Control 92 (2020) 261–270.
[24] R. Sambharya, G. Hall, B. Amos, B. Stellato, End-to-end learning to warm-start for real-time quadratic optimization, in: Learning for Dynamics and Control Conference, PMLR, 2023, pp. 220–234.
[25] T. Chen, X. Chen, W. Chen, Z. Wang, H. Heaton, J. Liu, W. Yin, Learning to optimize: A primer and a benchmark, J. Mach. Learn. Res. 23 (2022) 8562–8620.
[26] K. Li, J. Malik, Learning to optimize, arXiv:1606.01885 (2016).
[27] A. Mitsos, J. Najman, I. G. Kevrekidis, Optimal deterministic algorithm generation, J. Glob. Optim. 71 (2018) 891–913.
[28] R. Sambharya, B. Stellato, Learning algorithm hyperparameters for fast parametric convex optimization, SIAM J. Math. Data Sci. 8 (2026) 649–676.
[29] N. Shlezinger, J. Whang, Y. C. Eldar, A. G. Dimakis, Model-Based Deep Learning, Proc. IEEE 111 (2023) 465–499.
[30] B. Li, L. Yang, Y. Chen, S. Wang, H. Mao, Q. Chen, Y. Ma, A. Wang, T. Ding, J. Tang, R. Sun, PDHG-unrolled learning-to-optimize method for large-scale linear programming, in: R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, F. Berkenkamp (Eds.), Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, PMLR, 2024, pp. 29164–29180.
[31] L. Lüken, S. Lucia, Self-supervised learning of iterative solvers for constrained optimization, Results Control Optim. 23 (2026) 100751.
[32] L. Lüken, S. Lucia, Learning iterative solvers for accurate and fast nonlinear model predictive control via unsupervised training, in: 2024 European Control Conference (ECC), pp. 1843–1850.
[33] J. Adamek, L. Lüken, S. Lucia, Enabling robust mixed-integer nonlinear model predictive control via self-supervised learning and combinatorial integral approximation, J. Process Control 159 (2026) 103636.
[34] A. Wächter, L. T. Biegler, On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming, Math. Program. 106 (2006) 25–57.
[35] I. S. Duff, J. K. Reid, The multifrontal solution of indefinite sparse symmetric linear equations, ACM Trans. Math. Softw. 9 (1983) 302–325.
[36] S. Boyd, N. Parikh, E. Chu, B. Peleato, J. Eckstein, Distributed optimization and statistical learning via the alternating direction method of multipliers, Found. Trends Mach. Learn. 3 (2011) 1–122.
[37] S. Na, M. Anitescu, Superconvergence of Online Optimization for Model Predictive Control, IEEE Trans. Autom. Control 68 (2023) 1383–1398.
[38] S. Shin, M. Anitescu, V. M. Zavala, Exponential Decay of Sensitivity in Graph-Structured Nonlinear Programs, SIAM J. Optim. 32 (2022) 1156–1183.
[39] L. Bartali, M. Gabiccini, S. J. Wright, Schwarz decomposition for parallel minimum lap-time problems: Evaluating against ADMM, Veh. Syst. Dyn. 64 (2024) 1–26.
[40] J. Nocedal, S. J. Wright, Numerical Optimization, Springer Series in Operations Research, Springer, New York, 2nd edition, 2006.
[41] A. Fischer, A special newton-type optimization method, Optimization 24 (1992) 269–284.
[42] B. Chen, X. Chen, C. Kanzow, A penalized Fischer-Burmeister NCP-function, Math. Program. 88 (2000) 211–216.
[43] D. Liao-McPherson, I. Kolmanovsky, FBstab: A proximally stabilized semismooth algorithm for convex quadratic programming, Automatica 113 (2020) 108801.
[44] D. Liao-McPherson, M. Huang, I. Kolmanovsky, A Regularized and Smoothed Fischer–Burmeister Method for Quadratic Programming With Applications to Model Predictive Control, IEEE Trans. Autom. Control 64 (2019) 2937–2944.
L. Lüken, S. Lucia
Page 15 of 16
[45] M. Heinlein, S. Subramanian, S. Lucia, Robust Model Predictive Control Exploiting Monotonicity Properties, IEEE Trans. Autom. Control 70 (2025) 6260–6267.
[46] D. Hendrycks, K. Gimpel, Gaussian error linear units (gelus), arXiv:1606.08415 (2016).
[47] I. Loshchilov, F. Hutter, Decoupled weight decay regularization, arXiv preprint arXiv:1711.05101 (2017).
[48] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, M. Diehl, CasADi: A software framework for nonlinear optimization and optimal control, Math. Program. Comput. 11 (2019) 1–36.
[49] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. Kopf, E. Yang, Z. DeVito, M. Raison, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, S. Chintala, PyTorch: An imperative style, high-performance deep learning library, in: H. Wallach, H. Larochelle, A. Beygelzimer, F. dAlché-Buc, E. Fox, R. Garnett (Eds.), Advances in Neural Information Processing Systems, volume 32, Curran Associates, Inc., 2019.
[50] S. H. Jeon, S. Hong, H. J. Lee, C. Khazoom, S. Kim, CusADi: A GPU Parallelization Framework for Symbolic Expressions and Optimal Control, https://arxiv.org/abs/2408.09662v1, 2024.
[51] S. K. Lam, A. Pitrou, S. Seibert, Numba: A LLVM-based Python JIT compiler, in: Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, LLVM '15, Association for Computing Machinery, New York, NY, USA, 2015, pp. 1–6.
L. Lüken, S. Lucia
Page 16 of 16