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

A Fast Solution Method for Large-Scale Unit Commitment Based on Lagrangian Relaxation and Dynamic Programming

Jiangwei Hou, Qiaozhu Zhai, Yuzhou Zhou, Xiaohong Guan

TL;DR

This paper introduces DPLR, a hybrid optimization method that combines Lagrangian Relaxation (LR) and Dynamic Programming (DP) to solve massive-scale Unit Commitment (UC) problems. By using an analytical function for initial estimation and a specialized state transition diagram for adjustments, the method achieves solutions for systems with over 6,000 buses in minutes—roughly 10x faster than commercial solvers—while maintaining costs within 1% of the mathematical optimum.

What Problem Does This Paper Address?

The Unit Commitment (UC) problem is a cornerstone of power system operations: determining which generators to turn on or off over a 24-hour period to meet electricity demand at the lowest possible cost.

As power grids expand, UC becomes a "computational nightmare." It is an NP-hard problem because it involves both continuous variables (how much power to produce) and binary variables (is the unit on or off?). These variables are "coupled" by two types of constraints:

  1. System-wide constraints: Total power must meet demand, and transmission lines must not overheat.
  2. Unit-wise constraints: A generator can’t be toggled on and off instantly; it has "minimum up/down times" and "ramp limits" (how fast it can change output).

Standard Mixed-Integer Linear Programming (MILP) solvers are accurate but struggle with "combinatorial explosion" in large grids. Traditional Lagrangian Relaxation (LR) is faster but often produces "infeasible" solutions that violate the grid's physical limits.

Methods

The authors propose a framework called DPLR (Dynamic Programming and Lagrangian Relaxation) that follows a four-step iterative loop:

  1. Fast Trial Solution: They use an analytical function to estimate an initial UC status. This step focuses on satisfying system-wide constraints (like demand) while temporarily ignoring unit-wise constraints (like minimum up-time).
  2. NSTD Adjustment: To fix the unit-wise violations, they introduce a New State Transition Diagram (NSTD). This is a specialized DP module that "nudges" the trial solution into a state that respects generator physical limits while keeping the change from the trial solution as small as possible.
  3. Feasibility Testing: The adjusted solution is plugged into a linear program. If it’s not feasible (e.g., a transmission line is overloaded), the program calculates "slack variables"—essentially measuring how much the constraints are being violated.
  4. Multiplier Update: These violations are used as "sub-derivatives" to update the Lagrangian multipliers (the "shadow prices" of the constraints). The process then repeats until the solution is fully feasible.

Datasets

The researchers evaluated DPLR using four standard power system benchmarks of increasing complexity:

  • IEEE 24-bus: A small, standard test case.
  • IEEE 118-bus: A medium-sized regional grid.
  • Polish 2383-bus: A large-scale national grid model.
  • French 6468-bus: A massive-scale system representing a significant portion of the European grid.

Key Insights and Ideas

  • Avoiding the "Tree Search": Unlike MILP solvers that explore a massive "branch-and-bound" tree, DPLR uses DP to search through a constrained state space (the NSTD). This drastically reduces the number of binary combinations the computer has to check.
  • Analytical Starting Point: By starting with a trial solution that already "knows" about the system-wide demand, the algorithm begins much closer to the finish line than a random initialization.
  • Linear Scaling: One of the most important findings is that DPLR's computation time grows almost linearly with the size of the system, whereas MILP complexity often grows exponentially. This makes it uniquely suited for the "mega-grids" of the future.

Key Results

  • Speed: On average, DPLR was 10 times faster than the industry-standard Gurobi solver.
  • Scalability: For the massive French 6468-bus system, DPLR found a solution in roughly 15 to 57 seconds (depending on settings). In contrast, the Gurobi solver ran out of RAM and failed to provide a solution.
  • Quality: The "cost gap" (how much more expensive the DPLR solution is compared to the theoretical optimum) was consistently less than 1%.
  • Robustness: The method remained effective even when constraints were tightened (e.g., lower transmission limits or stricter ramp rates).

Limitations and Future Work

  • Optimality Gap: While 1% is excellent for large-scale engineering, it is not a "proven" global optimum. In very small systems where MILP is fast, MILP remains the superior choice for absolute precision.
  • Deterministic Nature: This paper assumes power demand and renewable generation are known perfectly. The authors acknowledge that the next step is generalizing DPLR to handle uncertainty (stochastic UC), which is critical for grids with high wind and solar penetration.
  • Feasibility Sensitivity: While DPLR handles tight constraints well, the authors note it may struggle with "extremely small" feasible regions where the grid has almost no flexibility.

Summary updated

BibTeX
@article{hou2023fast,
  author = {Jiangwei Hou and Qiaozhu Zhai and Yuzhou Zhou and Xiaohong Guan},
  title = {{A Fast Solution Method for Large-Scale Unit Commitment Based on Lagrangian Relaxation and Dynamic Programming}},
  journal = {IEEE Transactions on Power Systems},
  year = {2023},
  doi = {10.1109/tpwrs.2023.3287199},
}
Figure