[Paper Review] Ensuring DNN Solution Feasibility for Optimization Problems with Convex Constraints and Its Application to DC Optimal Power Flow Problems
This paper proposes a preventive learning framework to guarantee deep neural network (DNN) solution feasibility for optimization problems with convex constraints, by systematically calibrating inequality constraints during training to anticipate prediction errors. The method ensures 100% feasibility without post-processing and achieves up to 228× speedup with <0.19% optimality loss on IEEE test systems, outperforming existing DNN baselines.
Ensuring solution feasibility is a key challenge in developing Deep Neural Network (DNN) schemes for solving constrained optimization problems, due to inherent DNN prediction errors. In this paper, we propose a ``preventive learning'' framework to guarantee DNN solution feasibility for problems with convex constraints and general objective functions without post-processing, upon satisfying a mild condition on constraint calibration. Without loss of generality, we focus on problems with only inequality constraints. We systematically calibrate inequality constraints used in DNN training, thereby anticipating prediction errors and ensuring the resulting solutions remain feasible. We characterize the calibration magnitudes and the DNN size sufficient for ensuring universal feasibility. We propose a new Adversarial-Sample Aware training algorithm to improve DNN's optimality performance without sacrificing feasibility guarantee. Overall, the framework provides two DNNs. The first one from characterizing the sufficient DNN size can guarantee universal feasibility while the other from the proposed training algorithm further improves optimality and maintains DNN's universal feasibility simultaneously. We apply the framework to develop DeepOPF+ for solving essential DC optimal power flow problems in grid operation. Simulation results over IEEE test cases show that it outperforms existing strong DNN baselines in ensuring 100% feasibility and attaining consistent optimality loss ($<$0.19%) and speedup (up to $ imes$228) in both light-load and heavy-load regimes, as compared to a state-of-the-art solver. We also apply our framework to a non-convex problem and show its performance advantage over existing schemes.
Motivation & Objective
- To address the critical challenge of DNN solution infeasibility in constrained optimization due to inherent prediction errors.
- To develop a framework that guarantees feasibility without post-processing for problems with convex inequality constraints.
- To ensure universal feasibility across all input parameter regions while maintaining high optimality and speed performance.
- To extend the framework to non-convex problems and demonstrate its generalization capability.
- To apply the method to DC optimal power flow (DC-OPF) problems for real-time grid operation.
Proposed method
- The framework removes non-critical and linear equality constraints via a predict-and-reconstruct design, reducing decision variables without losing optimality.
- It introduces constraint calibration by systematically reducing constraint limits to create a safety margin against DNN prediction errors.
- A bi-level optimization problem is solved heuristically to determine the maximum allowable calibration rate that preserves the feasible input region.
- A sufficient DNN size is derived using an integer linear formulation to guarantee universal feasibility, enabling a pre-trained DNN without further training.
- An adversarial-sample aware training algorithm is proposed to improve optimality performance while preserving the feasibility guarantee.
- The framework produces two DNNs: one ensuring universal feasibility (DNN-FG), and another enhancing optimality without sacrificing feasibility (DNN-Optimality Enhanced).
Experimental results
Research questions
- RQ1Can a DNN-based solution for convex-constrained optimization problems be guaranteed to be feasible across all input parameters without post-processing?
- RQ2What is the maximum allowable constraint calibration rate that preserves feasibility for all inputs?
- RQ3What DNN size is sufficient to ensure universal feasibility under constraint calibration?
- RQ4Can optimality be improved via adversarial training without compromising feasibility?
- RQ5How does the framework perform on non-convex problems and real-world power systems like IEEE test cases?
Key findings
- DeepOPF+ achieves 100% feasibility across all IEEE test cases (Case14 to Case300) without post-processing, outperforming existing DNN baselines.
- The method achieves an optimality loss of less than 0.19% on all test cases, with consistent performance across light-load and heavy-load regimes.
- DeepOPF+ delivers up to 228× speedup compared to a state-of-the-art iterative solver, with speedups ranging from ×115 to ×138 on larger systems.
- The feasibility-guaranteed DNN (DNN-FG) ensures universal feasibility by construction, even without training, based on derived sufficient DNN size.
- The adversarial-sample aware training improves optimality performance while maintaining 100% feasibility, as shown in comparative simulations.
- The framework demonstrates performance advantages on a non-convex problem, suggesting potential for broader application beyond convex problems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.