Unit Commitment is a mixed-integer optimization problem solved by grid operators to schedule which generating units will be online or offline over a future horizon, typically 24 to 168 hours. Unlike Economic Dispatch, which allocates load among already-running units, Unit Commitment decides the binary commitment status of each generator, accounting for discrete constraints such as minimum up/down times, start-up costs, and ramp rate limitations.
Glossary
Unit Commitment

What is Unit Commitment?
Unit Commitment is the forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints.
The objective function minimizes total system production cost—fuel expenses plus transition costs—while enforcing reliability constraints like reserve requirements and transmission limits. Modern solvers use Lagrangian relaxation, mixed-integer linear programming, or dynamic programming to navigate the combinatorial explosion of possible schedules, ensuring that sufficient capacity is synchronized to meet forecasted demand and Contingency Reserve obligations.
Key Characteristics of Unit Commitment
Unit Commitment is a foundational, forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints.
Mixed-Integer Programming Core
Unit Commitment is fundamentally formulated as a Mixed-Integer Programming (MIP) problem. The on/off status of each generator is represented by a binary variable (0 or 1), while the power output is a continuous variable. This mathematical structure makes the problem computationally complex (NP-hard) but allows solvers to find globally optimal schedules that respect all physical constraints.
Temporal Coupling Constraints
Unlike simpler dispatch problems, Unit Commitment is defined by intertemporal constraints that link decisions across time periods. Key examples include:
- Minimum Up/Down Times: Once started, a thermal unit must run for a minimum duration before shutting down, and vice-versa.
- Ramp Rate Limits: The maximum speed at which a unit can increase or decrease output between hours.
- Start-Up Costs: A non-linear cost function that depends on how long the boiler has been cooling, making the commitment decision path-dependent.
Security-Constrained Formulation
Modern Unit Commitment is almost always Security-Constrained (SCUC). This means the optimization must simultaneously solve for a generation schedule that remains feasible not just under normal conditions, but also during N-1 contingencies—the unexpected loss of any single transmission line or generator. This ensures the resulting schedule is both economically efficient and meets NERC reliability standards for operating reserves.
Stochastic vs. Deterministic Approaches
To handle renewable energy variability, Unit Commitment has evolved beyond a single load forecast:
- Deterministic UC: Uses a single, best-guess load and wind/solar forecast, augmented with conservative reserve margins.
- Stochastic UC: Explicitly models a scenario tree of possible future net-load outcomes. The solver finds a single commitment schedule that minimizes the expected cost across all probabilistic scenarios, often yielding significant savings by reducing unnecessary reserve procurement.
Lagrangian Relaxation Decomposition
For large-scale systems with thousands of units, solving a single monolithic MIP is intractable. Lagrangian Relaxation (LR) decomposes the problem by relaxing the coupling constraints (like the power balance equation) and attaching a Lagrange multiplier (price signal) to them. This breaks the problem into independent, single-unit dynamic programming sub-problems that can be solved in parallel, iterating until the global constraints are satisfied.
Day-Ahead Market Clearing Engine
In restructured electricity markets (like PJM, ERCOT, or CAISO), Unit Commitment is the computational engine that clears the Day-Ahead Market. It simultaneously processes generator offers, demand bids, and virtual transactions to produce hourly Locational Marginal Prices (LMPs) and a financially binding schedule for the next operating day, ensuring that enough capacity is secured to meet the forecasted peak load.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the forward-looking optimization process that schedules generating units days in advance.
Unit Commitment (UC) is the forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints. The process works by solving a mixed-integer programming problem that evaluates thousands of binary decision variables—whether each generator should be committed (1) or decommitted (0) for each hourly interval of the planning horizon. The optimization engine simultaneously considers start-up costs, minimum up/down time constraints, ramp rate limitations, and spinning reserve requirements while minimizing total production cost. Modern UC solvers, such as those based on Lagrangian relaxation or branch-and-bound algorithms, process inputs including day-ahead load forecasts, renewable generation predictions, generator heat rate curves, and transmission security constraints to produce a feasible, least-cost commitment schedule.
Unit Commitment vs. Related Optimization Functions
A comparison of Unit Commitment against other core power system optimization functions, highlighting differences in time horizon, decision variables, and primary objective.
| Feature | Unit Commitment | Economic Dispatch | Automatic Generation Control |
|---|---|---|---|
Primary Decision Variable | Unit on/off status (binary commitment) | Output level of committed units (continuous MW) | Control pulse magnitude and direction |
Time Horizon | Day-ahead to week-ahead (24-168 hours) | 5 to 15 minutes ahead | Real-time (2-6 second intervals) |
Execution Frequency | Once per day (typically) | Every 5-15 minutes | Every 2-6 seconds |
Objective | Minimize total start-up, no-load, and variable costs | Minimize variable fuel costs only | Reduce Area Control Error to zero |
Considers Start-Up Costs | |||
Considers Minimum Up/Down Times | |||
Considers Ramp Rate Limits | |||
Considers Transmission Constraints |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Unit Commitment is the foundational forward-looking optimization that determines generator on/off schedules. These related concepts define the constraints, inputs, and downstream processes that interact with the UC problem.
Start-Up Cost
The fixed fuel and wear-and-tear expense incurred when bringing a thermal generating unit from an offline state to synchronization and minimum load. This cost is a critical input to the UC objective function.
- Cold start: Unit offline >48 hours, highest cost due to thermal stress
- Warm start: Unit offline 8-48 hours, moderate cost
- Hot start: Unit offline <8 hours, lowest cost
- Includes auxiliary power, boiler firing, and turbine rolling costs
- Creates the intertemporal coupling that makes UC a dynamic optimization problem
Minimum Up/Down Time Constraints
Temporal constraints that prevent a generating unit from being turned off immediately after starting (minimum up time) or restarted immediately after shutting down (minimum down time). These constraints enforce thermal and mechanical integrity.
- Min up time: Typically 4-24 hours for coal, 1-4 hours for gas turbines
- Min down time: Prevents hot restarts that cause rotor stress
- Modeled as integer constraints in the Mixed-Integer Linear Programming (MILP) formulation
- Directly impacts the look-ahead horizon required for feasible schedules
Security-Constrained Unit Commitment (SCUC)
An enhanced UC formulation that simultaneously enforces N-1 transmission security constraints alongside generator scheduling. SCUC ensures the resulting commitment schedule remains feasible under contingency conditions.
- Incorporates line flow limits and contingency analysis
- Uses shift factors (PTDF matrices) to model transmission impacts
- Computationally intensive due to the explosion of constraint sets
- Standard practice in ISO/RTO day-ahead markets (PJM, MISO, ERCOT)
- Often solved using Benders decomposition to separate generation and network subproblems
Load Forecast
The primary input signal to the Unit Commitment problem, representing the predicted system demand over the scheduling horizon. Forecast accuracy directly determines UC solution quality and reliability.
- Day-ahead forecasts: Hourly resolution, drives base UC decisions
- Short-term forecasts: 5-15 minute resolution, used for intra-day adjustments
- Errors propagate: under-forecasting causes scarcity pricing, over-forecasting causes unnecessary starts
- Modern approaches use gradient boosting machines and LSTM networks trained on weather, calendar, and economic features
Mixed-Integer Linear Programming (MILP)
The dominant mathematical optimization framework used to solve the Unit Commitment problem. MILP handles the binary on/off decisions (integer variables) alongside continuous power output variables within a linear objective and constraint structure.
- Objective: Minimize total production cost + start-up cost + no-load cost
- Binary variables: Unit commitment status (0=offline, 1=online)
- Continuous variables: MW output per unit per time period
- Solved using branch-and-bound algorithms with commercial solvers (CPLEX, Gurobi)
- Lagrangian relaxation historically used as an alternative decomposition method

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us