Learning to Solve Optimization Problems Constrained with Partial Differential Equations

Yusuf Guven, Vincenzo Di Vito, Ferdinando FiorettoarXiv 2025 · DOI

Abstract

Real-time control of systems governed by Partial Differential Equations (PDEs) is a significant challenge due to the computational intensity of traditional numerical solvers. This paper introduces PDE-OP, a deep learning framework that integrates a discrete-time Neural Operator with an optimization surrogate. By utilizing a self-supervised primal-dual training approach, PDE-OP achieves near-optimal control for complex physical systems with speedups of up to four orders of magnitude compared to classical methods.

1. Introduction

Many critical engineering tasks—such as regulating temperature in chemical reactors or managing voltage in power grids—require finding optimal control inputs to reach a target state while obeying physical laws expressed as PDEs. Traditional methods like Model Predictive Control (MPC) or adjoint-based optimization require hundreds of physics simulation "roll outs," making them computationally prohibitive for real-time applications where decisions must be made in milliseconds.

Visualization of a PDE-constrained optimization problem: finding control $u(t,x)$ to reach target state $y(T,x)$.

2. The PDE-OP Framework

The proposed PDE-OP (Optimization Proxy) framework addresses these challenges through a dual-network architecture that decouples physics prediction from decision-making:

  • Surrogate Controller ($\mathcal{U}_\omega$): Instead of outputting raw control signals for every point in space and time, this network predicts the coefficients of basis functions (e.g., sines and cosines). This approach drastically reduces the number of variables the network needs to learn while maintaining a continuous, smooth control signal.
  • Dynamic Predictor ($\mathcal{Y}_\theta$): This is a discrete-time Neural Operator that acts as a "learned simulator." It learns to map the current state and control input to the next state, effectively replacing slow numerical integration with a fast neural forward pass.
The PDE-OP architecture integrates a surrogate controller and a dynamic predictor, trained via a primal-dual loss.

Training is conducted using a self-supervised primal-dual method. The physics of the PDE and the system constraints are baked directly into the loss function as Lagrangian penalties. Because both the physics predictor and the controller are neural networks, the entire optimization pipeline is differentiable, allowing for extremely efficient gradient-based updates.

3. Experimental Results

The framework was validated on three benchmark physical systems: voltage control in reaction-diffusion systems, the 1D heat equation, and the highly nonlinear 1D viscous Burgers’ equation.

  • Nonlinear Dynamics: For the Burgers’ equation, PDE-OP achieved a solve time of 0.062 seconds, compared to 878 seconds for classical Nonlinear MPC—a speedup of approximately 14,000x—while maintaining a comparable Mean Squared Error (MSE) of $10^{-4}$.
  • Linear Systems: Significant speedups were also observed for the heat equation (3x to 5x over adjoint methods) and voltage regulation (746x faster than the Direct Method).

4. Conclusion

PDE-OP demonstrates the potential of neural operators to revolutionize real-time physics-constrained optimization. By replacing slow numerical solvers with fast, differentiable neural approximations, the framework enables high-frequency control loops that were previously impossible. Future research will focus on scaling the framework to 2D and 3D spatial dimensions and improving the strictness of constraint satisfaction.

Summary updated

BibTeX
@misc{guven2025learning,
  author = {Yusuf Guven and Vincenzo Di Vito and Ferdinando Fioretto},
  title = {{Learning to Solve Optimization Problems Constrained with Partial Differential Equations}},
  year = {2025},
  eprint = {2509.24573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.24573},
}
Figure