Manuscript Offprint
arXiv:2610.34509Symbolic Direct Construction of Augmented Systems for Levenberg-Marquardt Power Flow
Tianshi Cheng, Member, IEEE, and Venkata Dinavahi, Fellow, IEEE
Abstract—Levenberg–Marquardt power flow (LMPF) addresses ill-conditioned equations and provides least-squares stationary points for infeasible operating requests. Conventional implementations form damped normal equations, where introduces fill, squares the spectral condition number of the undamped part, and adds sparse-product cost. We propose an augmented LMPF formulation with a symbolic-permutation-based Jacobian operator that fills the augmented blocks directly. We prove that the matrix is symmetric quasi-definite for positive damping, enabling fixed-order, pivot-free QDLDL factorization. This property also motivates the solver choice: KLU value-only refactorization can reuse an unsuitable pivot order, forcing fresh full factorizations on difficult LMPF trajectories. We further introduce one-probe adaptive trust-region initialization for the radius and damping.
Direct assembly is 7.5–11.9× faster than the fastest coordinate-list path and 18.0–58.8× faster than cached normal-equation sparse-product formation; QDLDL reduces numerical refactorization and triangular-solve time by up to 3.40× on identical matrices. Adaptive initialization solves flat-started RTE cases in 19–25 factorizations, 7.5–11.6× faster than reproduced three-step LM. On case2383wp, our 84-iteration run performs 84 factorizations and 168 resolves in 237 ms, versus published times of 200.780–441.72 s with fewer outer iterations, corresponding to speedups of 847–1860×. These results require complete factorization and resolve accounting and reveal initialization and legacy-parameter effects. DC-initialized NR exhibits fast quadratic convergence throughout every tested solvable loading range, motivating clearer, reproducible definitions of ill-conditioned power-flow benchmarks.
Index Terms—Power flow, augmented system, sparse Jacobian, Levenberg–Marquardt method, quasi-definite matrix, QDLDL, trust region, continuation power flow.
I. INTRODUCTION
NEWTON–RAPHSON (NR) power flow is highly efficient within its convergence basin, but its behavior under poor initialization or near a singular Jacobian remains a persistent research topic. Iwamoto and Tamura introduced an optimal-multiplier treatment for ill-conditioned systems [1], while Tripathy et al. developed a Newton-like alternative [2]. Levenberg–Marquardt (LM) regularization [3], [4] has since been applied to power flow through damping, trust-region, and composite-step variants [5]–[8].
Three separate issues are often conflated in these investigations. The first is numerical initialization: a solution may exist, yet the flat-start voltage may lie outside the NR convergence basin. The second is existence: beyond a saddle-node bifurcation, the specified loading direction has no real power-flow solution. The third is near-singularity: the Jacobian becomes ill-conditioned near a fold, even when a solution remains reachable. Reliable attribution of convergence or failure requires comparisons that separate these conditions.
The implementation introduces a further confound. LM iterations form a damped least-squares system, and a single accepted outer step may require several trial factorizations. Outer-iteration counts therefore miss a substantial and highly variable fraction of the work. Moreover, explicitly forming introduces a sparse matrix product, while conventional coordinate (COO) assembly and transpose operations add allocation, indirect addressing, and memory traffic. These overheads can obscure both the cost of the numerical method and the effect of the sparse factorization backend.
This paper extends our symbolic direct Jacobian construction [9], implemented in the open-source RustPower solver [10], to the augmented LM system. It combines direct sparse construction, a verified symmetric solver class, adaptive step initialization, and complete cost accounting.
The contributions are as follows.
-
An augmented LM formulation with a verified solver class. We establish exact equivalence with the damped normal equations, derive the singular-value filtering limits, and prove quasi-definiteness and inertia for every positive damping value and every Jacobian. The analysis also gives the positive damping floor required by pivot-free LDL factorization.
-
Symbolic direct construction from . Sorted admittance columns yield the reduced Jacobian pattern by prefix selection. Base addresses and segment lengths determine every output-column base, diagonal rank, and quadrant offset inside the fill loop. This integer address arithmetic replaces auxiliary offset tables, COO triplets, runtime sorting, and transpose scatter. A row-oriented upper-triangle path nearly halves stored augmented-matrix nonzeros.
-
Controlled implementation comparisons. Assembly variants execute identical iterates, backend comparisons use identical augmented matrices, and robustness comparisons count every factorization and triangular resolve. Direct assembly achieves 7.5–11.9× speedups over the fastest COO path and 18.0–58.8× over cached normal-equation sparse-product formation. The respective end-to-end speedups are 1.15–1.43× and 1.28–3.57×. QDLDL reduces numerical refactorization plus triangular-solve time by up to 3.40× relative to KLU.
-
Adaptive step initialization and reproducible evaluation. Our one-probe extension jointly initializes the trust-region radius and damping scale. It solves the flat-started RTE cases in 19–25 factorizations and is
T. Cheng is with RTDS Technologies Inc., Winnipeg, MB R3T 2E1, Canada, and V. Dinavahi is with the Department of Electrical and Computer Engineering, University of Alberta, Edmonton, AB T6G 2V4, Canada (e-mail: tcheng1@ualberta.ca; dinavahi@ualberta.ca).
7.5–11.6× faster than the reproduced three-step LM. Full accounting exposes nested work that outer-iteration counts miss. The case2383wp and RTE experiments separate initialization, existence, and near-singularity, providing concrete requirements for reproducible ill-conditioned power-flow benchmarks.
Section II defines the power-flow and LM equations. Section III develops the augmented quasi-definite system. Section IV derives the direct-fill construction. Section V specifies step control and experimental accounting, Section VI reports results, and Section VII discusses the appropriate role of LM power flow.
A. Reduced Power-Flow Equations
Buses are ordered as . Let and denote their counts, and define and . The retained polar state is
The mismatch vector contains active-power mismatches at all nonslack buses and reactive-power mismatches at PQ buses. With , the NR correction solves
The numerical Jacobian is evaluated from using the same complex-domain expressions as the production NR solver.
B. Least-Squares and Damped Steps
LM methods replace the root equation with minimization of
A damped Gauss–Newton step satisfies
where and is diagonal. The experiments use in the retained polar coordinates; the implementation also supports voltage- and network-dependent diagonal metrics.
C. Singular-Value Filtering and Step Limits
For , let be a full singular-value decomposition. The damped step is
with the convention when and . Thus damping filters each singular direction differently: well-observed directions retain their Newton correction, whereas small singular values are strongly attenuated. In particular,
For full-column-rank J, this is the Newton correction (2); at a rank-deficient point, it is the minimum-norm least-squares correction. For general positive diagonal D, the same statement holds after scaling the step by . At the opposite extreme,
so large damping approaches a scaled steepest-descent direction. These limits describe the damping-controlled direction at a fixed initial point.
A trial is assessed using the actual-to-predicted reduction ratio
The denominator is the decrease of the undamped quadratic model evaluated at the damped step. Using (4), it also equals . The damping update follows the classical Nielsen rules [11]: accept a step with , reduce after a high-quality step, and increase it after rejection. Section V defines two trust-region methods: TR with a prescribed initial radius, and adaptive TR with a probe-initialized radius and damping. An accepted outer iteration can contain several trial factorizations, whereas composite steps can reuse one factorization with several right-hand sides.
D. DC Initialization
The dc power-flow approximation supplies an angle initial estimate through one linear solve. Voltage magnitudes remain at their specified flat-start values. Phase-shifting transformers enter through their associated injection corrections; neglecting these terms can change the quality of the initial point substantially. We count the dc linear solve as initialization and report subsequent NR iterations separately.
III. THE AUGMENTED QUASI-DEFINITE SYSTEM
A. Why Avoid Explicit Normal-Equation Formation
For , is positive definite and appears suitable for sparse Cholesky factorization. Three practical difficulties motivate a different formulation.
First, explicit formation of requires a sparse matrix product and can introduce fill before the linear solver is invoked. It also squares the spectral condition number of J in the undamped part. This is particularly undesirable near a fold, where recovering a Newton-like direction requires small .
Second, general sparse LU with numerical pivoting provides a different reuse contract from a fixed-pattern symmetric factorization. KLU value-only refactorization reuses an earlier pivot order, which can become unsuitable as the LMPF iterates change. Our flat-started case6515rte control stalls without reporting a factorization failure, whereas fresh factorization of the same matrices converges. A reliable KLU path must then perform a fresh full factorization at every trial on such trajectories. This reliability requirement and its full-factorization cost are primary motivations for QDLDL, alongside the measured speed difference.
Third, the normal-equation product discards the assembly advantage already available in the direct Jacobian kernel. The augmented formulation avoids this product entirely.
B. Exact Augmented Form
Consider
The second block equation gives . Substitution into the first yields
which is exactly (4). Thus (9) preserves the equations and the iterate while changing the sparse linear-system representation.
Proposition 1 (Quasi-definiteness and inertia for positive damping). If and is positive diagonal, then in (9) is symmetric quasi-definite for every real square matrix , and inertia( ) = .
Proof. The leading block satisfies , and the trailing block satisfies . Hence has the block form
which is quasi-definite in the sense of Vanderbei [12]. Moreover, block elimination by congruence gives
(11)
The Schur complement is negative definite for every J. Sylvester's law therefore gives n positive and n negative eigenvalues and no zero eigenvalue.
Every symmetric permutation of a quasi-definite matrix admits an LDL factorization with nonzero diagonal pivots. A fill-reducing symbolic ordering can consequently be computed once and reused for all Jacobian values and all positive , without relying on numerical pivot changes to preserve a nonzero-pivot sequence. QDLDL consumes the upper triangle and performs this quasi-definite LDL factorization [13]. KLU requires the full augmented matrix and does not exploit its symmetry [14].
Remark 1 (Positive damping floor). At , the leading block loses positive definiteness, so the quasi-definite proof requires . A small positive floor therefore belongs to both the solver contract and step control. When the floor is sufficiently small, the computed step is numerically close to the undamped Gauss–Newton direction while the augmented matrix remains in the required class.
Remark 2 (Role of an identity shift). Replacing by would preserve quasi-definiteness at , but block elimination would produce . The permanent identity shift would survive as and alter the undamped Gauss–Newton equation. The implemented damping block therefore vanishes with , subject to the positive numerical floor.
C. Damping-Only Updates
In (9), appears only in the leading diagonal. After one assembly, a damping retry updates scalar slots and invokes numerical refactorization while reusing , , the block, and the sparsity pattern. Composite methods can likewise invoke triangular solves with additional right-hand sides while retaining the same factorization. These operations make the number of factorizations and resolves directly observable in the implementation.
IV. SYMBOLIC DIRECT CONSTRUCTION
A. Admittance-Prefix Structure
Let the pre-permuted admittance matrix be stored in CSC form by column offsets , row indices , and values . Rows are sorted within each column. For column , define
and let be the local rank of the diagonal entry within that column. These three quantities are obtained during symbolic analysis.
An angle column of the reduced Jacobian contains active-power rows followed by reactive-power rows. Its two row segments are therefore prefixes of lengths and of the corresponding column. A magnitude column exists only for a PQ bus and uses the same prefixes with the block roles exchanged. Hence the reduced Jacobian pattern is a type-restricted view of the existing admittance graph.
Let denote the CSC start of reduced-Jacobian column , and let denote the corresponding start in its structural transpose. Both are symbolic prefix sums of retained segment lengths; the latter is equivalently a prefix sum of reduced-Jacobian row lengths. The complete augmented pattern follows by placing these graphs in the off-diagonal blocks and appending the two diagonal blocks. No numerical values are required for this construction.
B. Addresses Derived Inside the Fill Loop
The implementation separates a block base from the local offset within that block. At the beginning of each output-column or output-row iteration, it reads the relevant start, the retained segment lengths and , and the diagonal rank . It then derives the destination addresses immediately before filling that column or row.
For example, in the upper-triangle layout of (9), a state column contains only its damping diagonal and therefore starts at address . Residual column starts at
because each preceding residual column contributes a row segment of the transposed Jacobian and one -I entry. The -I entry of the current column is the last entry before the next column start. If is the local diagonal rank in the retained row segment, the diagonal correction is applied at rather than located by a search. Thus the global column base, the start of each retained segment, and the diagonal address are all obtained by integer addition at loop entry.
The column-oriented full-layout path applies the same principle to all four Jacobian quadrants. If is the base of the current output block, then the two retained segments begin at and ; the paired quadrant begins at its own derived base and uses the same local offsets. Each loop forms the starts required by its current column, replacing persistent , , , and start arrays.
Shared graph bases and segment lengths keep the global layout and local writes consistent by construction. A few integer additions on values already used by the fill loop replace dependent loads and offset-table maintenance.
C. Column Fill and Direct Transpose Fill
A column-oriented kernel evaluates each retained admittance entry and writes the corresponding Jacobian values directly into their final positions. Bus-level quantities are hoisted out of the inner loop, and diagonal corrections are applied once at rank . For the full augmented form, and may be emitted together; recomputing a small number of shared products is preferable to a scattered transpose-copy pass when memory traffic dominates.
For the upper-triangle QDLDL path, only is required. The row-oriented kernel computes Jacobian row directly into residual column of . A symbolic transpose or mirror map supplies the admittance entries in row order, so values are written contiguously without materializing a separate numerical block.
Phase-shifting transformers make numerically unsymmetric, but each branch still contributes the same off-diagonal pattern in both directions. Thus the pattern remains symmetric and the prefix cuts and diagonal ranks apply to the row walk unchanged. Numerical admittance values are always read from the correct directed entry.
Algorithm 1 summarizes the resulting organization. Diagonal and off-diagonal blocks are filled in separate single-purpose sweeps, while each column or row derives its own addresses on entry.
D. Storage and Retry Complexity
The full augmented pattern stores nonzeros, whereas the upper-triangle pattern stores . The latter is the direct input required by QDLDL. LU backends receive the full layout; triangle-only storage is selected by the backend contract, not by a runtime format conversion.
For retained entries, numerical fill is and performs no sorting or dynamic structure insertion. A retry changes diagonal values. Symbolic analysis is performed once per topology and bus-type partition, and subsequent operating-point changes reuse the complete pattern and the factorization ordering.
V. STEP CONTROL AND EVALUATION PROTOCOL
A. Trust-Region LM
Trust-region LM combines the damped step (4) with a bound . We call the method TR when the initial radius
Algorithm 1 Direct upper-triangle augmented fill
Require: Pre-permuted , symbolic cuts , graph starts , voltage and calculated-power vectors
1: for do
2: ; values[ ]
3: end for
4: for each retained residual column do
5: Eq. (13)
6: Derive from the symbolic admittance view
7: for each retained admittance entry in Jacobian row do
8: Evaluate the required entry
9: Write it at plus its local segment offset
10: end for
11: Apply the diagonal correction at
12: Write -1 at the final slot of column
13: end for
is prescribed. Each outer iteration fixes x, J, and F, then tries a sequence of damping values. Every trial changes the diagonal , refactorizes the same augmented pattern, and computes a candidate step. This is the nested work counted in our experiments.
If a candidate exceeds , it is not evaluated; is doubled and the step is recomputed. Otherwise, the gain ratio in (8) is evaluated. A step with is accepted. An evaluated rejection halves and doubles . After an accepted step, the radius is updated as
with the prescribed minimum and maximum radii enforced. The damping is divided by three when and otherwise left unchanged. Thus shapes the trial step, while imposes an independent bound on its length.
B. Three-Step Composite LM
We use TS for our residual-scaled three-step LM implementation [7]. Each outer iteration evaluates three corrections from the same x, J, and F through one factorization and two additional triangular resolves. The fresh-J control reassembles and refactorizes at every correction. Published TSLM and FTSLM results retain their original names in the literature comparison.
C. Adaptive TR: One-Probe Initialization
Adaptive TR changes only the initialization of TR. Its accepted-step test, damping updates, and radius updates are identical to those above. The extension addresses two opposite failures of a prescribed : an unnecessarily small radius slows a healthy start, while an excessively large radius admits a damaging first step from a poor flat start.
At , compute one probe direction with and evaluate the merit retention
TABLE I ASSEMBLY PATHS AND THEIR ALGORITHM TYPES.
| Path | Construction and structural reuse |
|---|---|
| NE-cached | Reduced ; fixed-pattern ; numeric sparse product at every iteration |
| NE-rebuild | Reduced ; generic sparse product rebuilds the structure and values |
| AUG-FS | Full followed by slicing; full augmented COO assembly |
| AUG-FS-upper | Full followed by slicing; upper-triangle augmented COO assembly |
| AUG-COO | Reduced ; full augmented COO assembly |
| AUG-COO-upper | Reduced ; upper-triangle augmented COO assembly |
| AUG-upper | Direct upper-triangle fill using stored row and column offsets |
| AUG-operator | Proposed direct upper-triangle fill; addresses derived from at loop entry |
If , the probe indicates a trustworthy local model: the radius is retired and the solve continues as damped Newton. If , adaptive TR initializes
clipping to its configured bounds, and then enters the TR loop. The initialization probe costs one factorization and one residual evaluation per solve and is excluded from accepted-step counts. This retention-based joint initialization is our extension of classical trust-region LM [15].
In the tested systems, healthy starts gave , while diverging flat starts on stressed systems gave . We use for all reported adaptive-TR runs.
D. Assembly-Path Terminology
We use NE for the damped normal equations and AUG for the augmented system. FS constructs the full Jacobian before reduction, COO uses coordinate-list assembly, and SDF means symbolic direct fill. TRIU stores only the upper triangle. Table I defines every path used in the assembly comparison.
Every COO path inserts triplets and converts them to CSC during each linear solve. The two NE paths form explicitly. AUG-upper and AUG-operator fill the augmented matrix directly. The main comparison uses AUG-operator, the fastest COO control, and NE-cached; the remaining paths provide ablations.
E. Experimental Controls
We measure optimized release builds on a Windows host with an Intel Core i7-10700K processor at 3.80 GHz. Assembly variants execute identical iterates and share the same Jacobian kernels. Backend comparisons supply QDLDL and KLU with the same full augmented matrix at every iterate and verify equal iteration and factorization counts. Assembly and backend timings are medians of seven rounds after one warmup. Algorithm-level wall-clock tables report one complete optimized-release run per method, including all accepted and rejected trials. Initialization and symbolic analysis are excluded from the steady-state backend comparison. For QDLDL, the numeric timer covers value updates and refactorization on every linear solve. For KLU, value-only refactorization is timed separately from the first factorization, which is excluded; each round's refactorization total is therefore divided by its refactorization count. Triangular-solve totals are divided by the number of right-hand sides for both backends. We normalize within each round before taking cross-round medians.
Convergence tests use flat and dc starts with identical network data and tolerances. Loading scans scale the specified net injections along one fixed direction. Residual and merit identify solved points and nonzero-residual stationary points; Jacobian conditioning is evaluated at a specified solution; continuation brackets the fold along the same loading direction. These measurements distinguish initialization failure, solution existence, and Jacobian conditioning.
VI. NUMERICAL RESULTS
A. Assembly and End-to-End Speedups
Table II and Fig. 1 report the speedup of AUG-operator over every alternative path. Each ratio divides the alternative path's time by the AUG-operator time, so values above one favor AUG-operator. All ratios use complete LM solves with every damping trial and factorization included. All paths report 4/4, 5/5, and 11/11 accepted steps/factorizations on the three systems.
The assembly speedup reaches over the fastest COO path and over NE-cached. The corresponding end-to-end speedups are , , and over the fastest COO path, and , , and over NE-cached. AUG-upper has the lowest end-to-end time on IEEE 39 and IEEE 118; AUG-operator has the lowest end-to-end time on PEGASE 9241.
Correctness checks compare matrices and complete trajectories. The row-oriented baseline reproduces the production column Jacobian bitwise on IEEE 39. All construction paths produce identical accepted-step and factorization counts, and backend solutions agree to floating-point precision. On PEGASE 9241, the QDLDL and KLU augmented paths agree to in the recorded cross-check.
B. Factorization Backend on Identical Matrices
We compare steady-state numerical work separately from initialization. Fig. 2 reports numerical refactorization and triangular solves, with their sum per linear solve printed above each bar. Both backends receive the same augmented matrices on identical trajectories. QDLDL is faster on every system, reaching a KLU/QDLDL ratio of on PEGASE 9241. The 6515rte comparison uses dc-started iterates.
The normal-equation KLU control exposes a separate correctness issue. On flat-started case6515rte, value-only refactorization failed in every measured round and stalled at , with zero factorization-failure fallbacks reported. Fresh KLU factorization at every trial converged along the reference trajectory with 24 accepted iterations and 44 full factorizations, requiring 2.242 s of linear-solve time. The successful KLU path therefore required 44 full factorizations, in contrast to the attempted pattern of one full factorization and 43 value-only refactorizations. The augmented QDLDL path reused its fixed symbolic ordering and required 0.312 s on the same accepted-step sequence. This reliability requirement makes QDLDL central to the design: KLU incurs both its
TABLE II SPEEDUP OF AUG-OPERATOR OVER EACH PATH; HIGHER VALUES ARE BETTER.
| Path | IEEE 39 | IEEE 118 | PEGASE 9241 | |||
|---|---|---|---|---|---|---|
| Assembly | End-to-end | Assembly | End-to-end | Assembly | End-to-end | |
| AUG-operator | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| AUG-upper | 1.30 | 0.87 | 1.22 | 0.98 | 1.52 | 1.07 |
| AUG-COO-upper | 9.57 | 1.15 | 7.51 | 1.30 | 11.85 | 1.43 |
| AUG-COO | 12.16 | 1.36 | 10.87 | 1.33 | 18.65 | 1.70 |
| AUG-FS-upper | 11.16 | 1.19 | 9.98 | 1.26 | 13.62 | 1.45 |
| AUG-FS | 11.82 | 1.17 | 17.05 | 1.67 | 22.26 | 1.85 |
| NE-rebuild | 20.05 | 1.50 | 28.05 | 2.38 | 47.78 | 3.23 |
| NE-cached | 18.04 | 1.28 | 27.71 | 2.28 | 58.75 | 3.57 |
higher large-system cost and the cost of fresh full factorization when pivot reuse fails.
C. RTE Systems: Initialization Versus Existence
Table III reports the three stressed RTE snapshots. Flat-start NR fails at base loading on all three, whereas dc-started NR converges in 6–8 iterations. Throughout the loading scan, dc+NR converges at every tested point before the continuation fold. Its first failure occurs after the loading boundary is crossed.
The dc angle correction at base loading is 0.05–0.08 radians, yet it moves the first iterate into the NR convergence basin. Flat-start failure therefore measures starting-point sensitivity in these systems; the condition numbers reported below characterize the equations at converged solutions.
D. Case2383wp: Conditioning and Reported Cost
Prior work reported NR divergence and a condition number of for case2383wp [7]. In our implementation, NR converges in four iterations from both flat and dc starts, so the base case has a readily reachable power-flow solution. The historical parameter settings in the MATPOWER case definition explain the reported divergence. Both tested phase-shifter sign conventions converge. The estimated condition number is at the base-case solution and near the continuation fold at . The genuine near-singularity appears near the fold.
The original TS study reports outer iterations, while the nested factorizations and additional resolves remain unreported [7]. Table IV shows why this distinction matters. Our TS requires 84 outer iterations. Every iteration performs exactly one factorization and two additional triangular resolves, giving 84 factorizations and 168 resolves in 237 ms. Reassembling the Jacobian at every correction also gives 84 iterations. Adaptive TR requires 9 iterations and 10 factorizations in 30.3 ms, so it remains faster in our implementation.
Published TSLM and FTSLM report 11 and 5 outer iterations with CPU times of 441.72 s and 200.780 s. Our TS executes more outer iterations yet runs and 847 times faster than these reported times. Direct Jacobian assembly contributes through the gains in Table II. The timing ratios also include implementation and hardware effects, although processor generation alone is unlikely to explain differences of this size. Complete factorization, resolve, assembly, and solver measurements therefore provide the basis for performance comparisons.
E. Tripathy 11-Bus System: A Nonzero Merit Floor
The 11-bus system of Tripathy et al. [2] exhibits a different condition. Continuation locates the fold at , below the reported nominal loading. LM converges from both starts to the same least-squares stationary point with
Together with the continuation result, the nonzero residual places the nominal specification beyond the feasible branch. These findings support Iwamoto and Tamura's assessment of this case [1]. LM returns the least-squares point and its mismatch distribution for the unattainable operating request.
F. LM Variants Under Factorization Accounting
Table V compares residual-scaled composite LM, fresh-Jacobian composite LM, and adaptive TR. Entries give outer iterations/factorizations, with additional resolves in parentheses for TS. TR and adaptive TR share the trial loop in Section V: TR starts from a prescribed radius, whereas adaptive TR initializes the radius and damping with one probe. A composite outer step evaluates three corrections through one shared factorization, followed by triangular resolves. The fresh-Jacobian control reassembles and refactorizes at every correction.
The adaptive trust-region variant converges from the RTE flat starts in 19–25 total factorizations, including the initial probe. Relative to TS, its wall-time speedups are , , and ; relative to fresh-Jacobian TS, they are , , and . On healthy systems it retires the radius and behaves as damped Newton with one additional probe factorization: the iteration/factorization counts are 4/5, 5/6, and 8/9 on IEEE 39, IEEE 118, and IEEE 300. The best hand-tuned TR on case6470rte still requires 44–48 factorizations.
Residual-scaled composite LM converges without parameter tuning but requires 152–245 factorizations. Fresh-Jacobian corrections change the accepted-iteration count by less than 2%, so Jacobian reuse leaves the long trajectories essentially unchanged. Scalar residual-dependent damping couples step length and direction, whereas the trust region controls them separately.
The published outer-iteration metric misses this distinction. In one case6495rte run, a single-step residual-scaled variant
(a) IEEE 39

(b) IEEE 118
(c) PEGASE 9241
Fig. 1. Assembly and end-to-end speedups of AUG-operator over every alternative path.
TABLE III DUAL-START CONVERGENCE AND LOADING LIMITS OF THE RTE SYSTEMS.
| Case | Flat NR at α = 1 | dc+NR iterations | Highest solved dc+NR bracket | Continuation fold |
|---|---|---|---|---|
| case6470rte | Fails | 6-7 | (1.20, 1.25] | 1.2426 |
| case6495rte | Fails | 7 | (1.15, 1.20] | 1.1669 |
| case6515rte | Fails | 7-8 | (1.10, 1.15] | 1.1058 |
TABLE IV CASE2383WP COST. TS ENTRIES SEPARATE FACTORIZATIONS AND ADDITIONAL RESOLVES.
| Method | Outer iter. | Fact. + resolves | Time |
|---|---|---|---|
| Published TSLM | 11 | — | 441.72 s |
| Published FTSLM | 5 | — | 200.780 s |
| Our TS, flat | 84 | 84 + 168 | 237 ms |
| Our adaptive TR, flat | 9 | 10 | 30.3 ms |
| Our NR, flat | 4 | 4 | 7.58 ms |
reports 15 outer iterations while executing 1,214 factorizations through damping retries. An outer-loop ranking can therefore assign an advantage to an LM variant with orders of magnitude more factorization work.
VII. DISCUSSION
A. A Reproducible Meaning of Ill-Conditioned Power Flow
The RTE and case2383wp experiments give flat-start failure a precise but limited meaning: it records the outcome from one initial point. Controlled dc initialization and corrected case parameters can change that outcome. Jacobian conditioning must therefore be evaluated at a stated solution and loading point.
A reproducible ill-conditioned benchmark should provide the exact network version and parameters, loading direction, initialization, and convergence tolerance. A dc+NR control and a continuation-based loading boundary separate starting-point sensitivity from loss of solution existence. Factorization
QDLDL
KLU
Refactorization
Triangular solve
(a) IEEE networks

(b) RTE and PEGASE networks
Fig. 2. QDLDL and KLU cost on the same augmented matrices.
TABLE V RTE ITERATIONS, LINEAR WORK, AND WALL TIME (MS).
| Case | dc+NR | TS, flat | TS fresh-J, flat | Adaptive TR, flat |
|---|---|---|---|---|
| case6470rte | 6/6; 30.2 | 152/(152+304); 1545 | 150/451; 3419 | 24/25; 207 |
| case6495rte | 7/7; 31.7 | 175/(175+350); 1770 | 175/525; 3945 | 18/19; 162 |
| case6515rte | 8/8; 39.8 | 245/(245+490); 2731 | 242/726; 5534 | 22/23; 235 |
and resolve counts complete the performance record. These elements belong in the benchmark definition.
B. The Appropriate Role of LM Power Flow
Trust-region LM is useful for difficult flat starts. Adaptive initialization chooses the starting radius and damping, while subsequent radius updates continue to shape the accepted path and computational cost. NR remains the simpler method whenever dc+NR converges.
Beyond the feasible operating region, LM returns a least-squares stationary point of (3). Its merit, gradient, and bus-wise mismatches quantify the unattainable operating request. Continuation locates the loading boundary, and the LM residual describes the outcome beyond it.
VIII. CONCLUSION
This paper presented an augmented LM system with exact normal-equation equivalence, proven quasi-definiteness, and a symbolic direct-fill implementation. The pre-permuted structure supplies every column base, diagonal rank, and segment offset during assembly. AUG-operator achieves 7.5–11.9× assembly speedups over the fastest COO control and 18.0–58.8× over cached normal-equation sparse-product formation. The respective end-to-end speedups are 1.15–1.43× and 1.28–3.57×. QDLDL reduces numerical refactorization plus triangular-solve time by up to 3.40× on identical augmented systems. Its fixed-order factorization also avoids the fresh full KLU factorizations required when pivot reuse fails on LMPF trajectories.
Complete linear-algebra accounting changes the performance comparison. On case2383wp, 84 TS iterations with 84 factorizations and 168 additional resolves take 237 ms. The contrast with published runtimes shows that outer-iteration counts give an incomplete measure of implementation cost. Our one-probe adaptive trust-region extension further reduces the flat-started RTE solves to 19–25 factorizations and runs 7.5–11.6× faster than the reproduced TS method.
The initialization experiments provide equally important context. The dc+NR method converges at every tested RTE loading point before the continuation fold, and NR solves case2383wp in four iterations. Reproducible benchmarks should therefore report case parameters, initialization, loading, tolerances, factorizations, and resolves. Trust-region LM remains useful for difficult flat starts, with its radius influencing convergence and cost. Its clearest practical role is least-squares analysis beyond the feasible operating region.
REFERENCES
[1] S. Iwamoto and Y. Tamura, “A load flow calculation method for ill-conditioned power systems,” IEEE Trans. Power App. Syst., vol. PAS-100, no. 4, pp. 1736–1743, 1981.
[2] S. C. Tripathy, G. Durga Prasad, O. P. Malik, and G. S. Hope, “Load-flow solutions for ill-conditioned power systems by a newton-like method,” IEEE Trans. Power App. Syst., vol. PAS-101, no. 10, pp. 3648–3657, 1982.
[3] K. Levenberg, “A method for the solution of certain non-linear problems in least squares,” Quart. Appl. Math., vol. 2, no. 2, pp. 164–168, 1944.
[4] D. W. Marquardt, “An algorithm for least-squares estimation of nonlinear parameters,” J. Soc. Ind. Appl. Math., vol. 11, no. 2, pp. 431–441, 1963.
[5] P. J. Lagace, M. H. Vuong, and I. Kamwa, “Improving power flow convergence by Newton-Raphson with a Levenberg-Marquardt method,” in Proc. IEEE Power Energy Soc. General Meeting, 2008, pp. 1–6.
[6] S. Y. Derakhshandeh and R. Pourbagher, “Application of high-order Levenberg–Marquardt method for solving the power flow problem in the ill-conditioned systems,” IET Gener. Transm. Distrib., vol. 10, no. 12, pp. 3017–3022, 2016.
[7] S. Y. Derakhshandeh, R. Pourbagher, and A. Kargar, “A novel fuzzy logic Levenberg–Marquardt method to solve the ill-conditioned power flow problem,” Int. J. Elect. Power Energy Syst., vol. 99, pp. 299–308, 2018.
[8] R. Pires, L. Mili, and G. Chagas, “Robust complex-valued Levenberg–Marquardt algorithm as applied to power flow analysis,” Int. J. Elect. Power Energy Syst., vol. 113, pp. 383–392, 2019.
[9] T. Cheng and V. Dinavahi, “Symbolic-permutation-based direct sparse jacobian assembly for accelerated power-flow analysis,” arXiv preprint arXiv:2610.12654, 2026.
[10] T. Cheng, “RustPower: A data-oriented open-source power-flow solver in Rust,” https://github.com/chengts95/rustpower, 2024, accessed: Oct. 25, 2026.
[11] H. B. Nielsen, “Damping parameter in Marquardt’s method,” Technical University of Denmark, Tech. Rep. IMM-REP-1999-05, 1999.
[12] R. J. Vanderbei, “Symmetric quasidefinite matrices,” SIAM J. Optim., vol. 5, no. 1, pp. 100–113, 1995.
[13] B. Stellato, G. Banjac, P. Goulart, A. Bemporad, and S. Boyd, “OSQP: An operator splitting solver for quadratic programs,” Math. Program. Comput., vol. 12, no. 4, pp. 637–672, 2020.
[14] T. A. Davis and E. P. Natarajan, “Algorithm 907: KLU, a direct sparse solver for circuit simulation problems,” ACM Trans. Math. Softw., vol. 37, no. 3, pp. 36:1–36:17, 2010.
[15] J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed. New York: Springer, 2006.