Foundation
The Alternating Direction Method of Multipliers (ADMM) is a first-order optimization algorithm that solves constrained convex problems by decomposing them into smaller subproblems coordinated through dual variables. It combines the decomposability of dual ascent methods with the convergence guarantees of the method of multipliers, making it the dominant algorithm for distributed optimization in power systems, machine learning, and signal processing. In Lirion, ADMM is the engine behind distributed OPF: it splits a large network into zones that solve local subproblems in parallel, exchanging only tie-line prices to converge toward a globally consistent dispatch.
ADMM targets convex optimization problems with a specific separable structure. The variables x and z are coupled only through a linear constraint, which is exactly what arises when a large optimization problem is partitioned: each subsystem optimizes its local variables, and they must agree on shared boundary values.
The objective splits into two parts f(x) and g(z), each depending on its own variable block. Many problems in OPF, machine learning, and statistics admit this form naturally or after reformulation. The “consensus” form where multiple agents must agree on a shared variable is a special case, as is “sharing” where multiple resources sum to a common budget.
ADMM works with the augmented Lagrangian, which extends the standard Lagrangian by adding a quadratic penalty on constraint violation. The penalty parameter ρ > 0 controls how strongly constraint violation is punished.
The augmented form has two crucial advantages over the plain Lagrangian:
The downside is that the quadratic penalty term ‖Ax + Bz − c‖² couples x and z — exactly the coupling we wanted to break for decomposition. ADMM’s central insight is to update x and z alternately rather than jointly, restoring decomposability.
Starting from any (z&sup0;, λ&sup0;), ADMM iterates three steps per round:
Each iteration involves three steps:
The x and z subproblems decouple from each other (each treats the other variable as a constant), enabling parallel solution. The dual update is a simple algebraic operation that consolidates the iteration.
For convex f, g and any ρ > 0, ADMM converges in three senses (Boyd et al. 2011):
The convergence rate is O(1/k) in objective value and residuals — sublinear, slower than second-order methods like Newton but with two compensating advantages: each iteration is cheap (only subproblems, no Hessian assembly), and the iterations are embarrassingly parallel across subsystems.
In practice, ADMM reaches moderate-accuracy solutions (residuals ∼ 10−3) very quickly — often within 50–200 iterations. Reaching high accuracy (residuals ∼ 10−6) is slower and may require thousands of iterations. For OPF, moderate accuracy is usually sufficient because measurement noise and model approximations already introduce uncertainties at the 10−3 level.
ADMM convergence is guaranteed for any ρ > 0, but the rate depends critically on the choice. Too small ρ leads to slow primal convergence; too large ρ leads to slow dual convergence (multipliers update too aggressively, causing oscillation). A common adaptive scheme updates ρ based on the relative magnitudes of primal and dual residuals:
Typical parameter choices: μincr = μdecr = 10, τincr = τdecr = 2. The rule increases ρ when constraint violations dominate (push harder on the constraint) and decreases ρ when dual oscillations dominate (let the multipliers settle). Lirion’s distributed OPF exposes these as keyword arguments, allowing per-network tuning.
ADMM has spawned a large family of related algorithms. The most relevant for OPF and large-scale problems:
For non-convex problems like AC OPF, ADMM lacks a convergence guarantee — but empirically converges to local optima on most instances. This is why ALADIN (Augmented Lagrangian Alternating Direction Inexact Newton) was developed: it augments ADMM with a centralized quadratic program that uses local Hessians and gradients, providing stronger convergence on non-convex problems.
Distributed OPF maps onto ADMM in a natural way:
The economic interpretation is clean: λ represents the locational marginal price on tie-lines, and the iteration corresponds to a fictitious trading process where zones exchange power at evolving prices until supply and demand balance globally. This makes ADMM particularly attractive for power markets where physical decomposition mirrors organizational decomposition (ISOs, balancing authorities, control areas).