NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to Solve Large-Scale Security-Constrained Unit Commitment Problems

Álinson S. Xavier, Feng Qiu, Shabbir AhmedInforms J. Comput 2021

TL;DR

This paper tackles the computationally intensive Security-Constrained Unit Commitment (SCUC) problem, a critical task in electricity markets. They introduce a machine learning approach that leverages past SCUC solutions to predict redundant constraints, generate good initial feasible solutions (warm starts), and identify affine subspaces for optimal solutions, leading to significant speedups without sacrificing solution quality.

What Problem Does This Paper Address?

The Security-Constrained Unit Commitment (SCUC) problem is fundamental to power system operations and electricity markets. It involves scheduling power generation units to meet demand at the lowest cost while ensuring the system's reliability under various operational and physical constraints, including transmission line limits and potential failures (N-1 contingencies). SCUC is repeatedly solved, often multiple times a day, using Mixed-Integer Linear Programming (MIP) solvers. However, solving these large-scale instances can be computationally demanding, especially within the tight timeframes of electricity markets. While modern MIP solvers offer features like warm starts, their effectiveness for SCUC is limited. This paper addresses the challenge of accelerating SCUC solutions by intelligently using historical data to guide the MIP solver, rather than relying solely on its internal heuristics.

Methods

The authors propose three machine learning (ML) models to enhance MIP solver performance for SCUC:

  • Transmission Constraint Predictor: This model predicts which transmission and N-1 security constraints are likely to be binding. It uses a k-Nearest Neighbors (kNN) approach, where constraints are enforced if they were necessary for a certain percentage of the nearest solved training instances. This helps reduce the number of constraints initially added to the relaxation.
  • Warm Start Predictor: This model aims to generate high-quality initial feasible solutions (warm starts) for the MIP solver. It also employs a kNN strategy, collecting optimal solutions from nearest training instances and constructing a partial solution by setting binary variable values only when there's a high consensus among neighbors. This partial solution is then provided to the MIP solver, which can repair it if necessary.
  • Affine Subspace Predictor: This model identifies affine subspaces where the optimal solution is likely to lie. It uses Support Vector Machines (SVMs) to predict whether certain equality constraints (fixing binary variables to 0, 1, or the next time step's value) should be added to the MIP formulation. This effectively reduces the problem's dimensionality by fixing variables.

These ML models provide "hints" to a customized MIP solver, guiding its search and improving efficiency.

Datasets

The authors used nine realistic, large-scale European test system instances derived from MATPOWER. Generator data that was missing was artificially generated using publicly available data from PJM and MISO.

For training and testing, they generated 300 variations for each of the nine original instances, considering uncertainties in:

  • Production and startup costs
  • Geographical load distribution
  • Peak system load and temporal load profile

For out-of-distribution evaluation, they modified the distributions of these uncertainties to simulate a "dataset shift" scenario.

Key Insights and Ideas

  • Leveraging Historical Data is Key: The core idea is that SCUC instances are often very similar day-to-day, and this similarity can be exploited. Instead of solving each instance from scratch, ML can learn patterns from past solutions to guide the solver.
  • Predicting Redundancy is Powerful: Identifying which constraints are not necessary is as important as identifying which ones are. The transmission predictor significantly reduces the problem size by omitting redundant constraints.
  • Partial Warm Starts are Effective: Providing incomplete but high-confidence warm starts to the MIP solver, which can then repair them, is more effective than trying to generate complete, feasible solutions directly.
  • Affine Subspaces Drastically Reduce Variables: Fixing a large percentage of binary variables by predicting affine subspaces leads to the most significant speedups, even if optimality guarantees are not strictly maintained (though in practice, solutions remained optimal).
  • ML Models are Robust to Moderate Shifts: Even when test data distributions differ slightly from training data, the ML predictors still provide substantial speedups, indicating a degree of robustness.

Key Results

  • Overall Speedup: The combined approach achieved an average speedup of 4.3x with optimality guarantees and 10.2x without optimality guarantees (though solutions remained optimal in experiments).
  • Transmission Predictor: Achieved speedups ranging from 2.0x to 2.8x, with the kNN-based predictor (tr:knn:300) performing best among practical strategies.
  • Warm Start Predictor: The best strategy (ws:knn:50:90) achieved an average speedup of 4.3x, producing valid partial warm starts that were repaired by CPLEX to optimal solutions.
  • Affine Subspace Predictor: The recommended SVM-based predictor (aff:svm) achieved an average speedup of 10.2x, fixing 94% of commitment variables and maintaining high solution quality.
  • Out-of-Distribution Performance: Even with a moderate dataset shift, speedups dropped but remained significant (e.g., aff:svm speedup dropped from 10.2x to 8.6x), and solution quality was largely unaffected.

Limitations and Future Work

  • Data Dependency: The main limitation is the requirement for a large number of solved, similar instances to train the predictors. The authors acknowledge that sufficient historical data is needed to characterize parameter distributions for generating plausible training instances.
  • Upfront Computational Cost: Solving the training instances incurs an upfront computational cost, though this is mitigated by parallelization and the online learning capability of some predictors.
  • Future Work:
    • Developing ML methods to handle changes in the generation fleet, reducing the need for frequent retraining.
  • Exploring methods to efficiently update existing training datasets after significant dataset shifts, rather than retraining from scratch.
  • Further validation on real-world datasets.
  • Adapting the techniques to other challenging combinatorial optimization problems.

Summary updated

BibTeX
@article{xavier2021learning,
  author = {Álinson S. Xavier and Feng Qiu and Shabbir Ahmed},
  title = {{Learning to Solve Large-Scale Security-Constrained Unit Commitment Problems}},
  journal = {Informs J. Comput},
  year = {2021},
  doi = {10.1287/ijoc.2020.0976},
}
Figure