arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.00709math.NAcs.DScs.MScs.NA
收藏

通过近似消元法实现拉普拉斯方程的鲁棒实用求解

Robust and Practical Solution of Laplacian Equations by Approximate Elimination

Yuan Gao, Rasmus Kyng, Daniel A. Spielman

AI总结:

本研究提出基于近似Cholesky分解的SDDM矩阵线性方程组求解算法,用Julia实现两个版本,实验表明其鲁棒性优于现有主流求解器,且公开了代码与SDDM2023基准测试集。

摘要:

我们提出了一种用于求解含非正非对角元的对称对角占优矩阵(SDDM矩阵,包括拉普拉斯矩阵)线性方程组的新算法与软件。我们采用预条件共轭梯度法(PCG)求解线性方程组,所使用的预条件器是Kyng与Sachdeva(FOCS 2016)提出的近似Cholesky分解的一种变体。我们的分解方法思路简洁:逐次消去矩阵的行/列,并通过采样近似完整Cholesky分解的结果,以此更新剩余矩阵。与早期方法不同,我们的采样策略始终能维持剩余非零结构的连通性。我们的算法包含一个调优参数,用于限定每个原始矩阵元素对应的采样数量上限。我们用Julia实现了该算法,提供了AC和AC2两个版本,分别对每个原始元素使用1次和2次采样。我们将其单线程性能与当前最先进的求解器进行了对比,包括组合多重网格法(CMG)、来自HyPre和PETSc的BoomerAMG预条件Krylov求解器、精益代数多重网格法(LAMG),以及MATLAB中带不完全Cholesky分解(ICC)的求解器。我们的评估覆盖了广泛的问题类型,包括SuiteSparse集合中所有大型SDDM矩阵,以及各类通过程序生成的测试实例。实验表明,我们的算法达到了SDDM求解器中前所未有的鲁棒性与可靠性水平,同时在所有测试实例上均保持了良好的性能。我们的代码与数据已公开,并提供了复现测试的教程。我们希望其他研究者能采用这套测试集作为基准,我们将其命名为SDDM2023。我们的求解器代码可在https://github.com/danspielman/Laplacians.jl/ 获取,基准测试数据与教程可在https://rjkyng.github.io/SDDM2023/ 获取。

英文摘要:

We introduce a new algorithm and software for solving linear equations in symmetric diagonally dominant matrices with non-positive off-diagonal entries (SDDM matrices), including Laplacian matrices. We use pre-conditioned conjugate gradient (PCG) to solve the system of linear equations. Our preconditioner is a variant of the Approximate Cholesky factorization of Kyng and Sachdeva (FOCS 2016). Our factorization approach is simple: we eliminate matrix rows/columns one at a time and update the remaining matrix using sampling to approximate the outcome of complete Cholesky factorization. Unlike earlier approaches, our sampling always maintains a connectivity in the remaining non-zero structure. Our algorithm comes with a tuning parameter that upper bounds the number of samples made per original entry. We implement our algorithm in Julia, providing two versions, AC and AC2, that respectively use 1 and 2 samples per original entry. We compare their single-threaded performance to that of current state-of-the-art solvers Combinatorial Multigrid (CMG), BoomerAMG-preconditioned Krylov solvers from HyPre and PETSc, Lean Algebraic Multigrid (LAMG), and MATLAB's with Incomplete Cholesky Factorization (ICC). Our evaluation uses a broad class of problems, including all large SDDM matrices from the SuiteSparse collection and diverse programmatically generated instances. Our experiments suggest that our algorithm attains a level of robustness and reliability not seen before in SDDM solvers, while retaining good performance across all instances. Our code and data are public, and we provide a tutorial on how to replicate our tests. We hope that others will adopt this suite of tests as a benchmark, which we refer to as SDDM2023. Our solver code is available at: https://github.com/danspielman/Laplacians.jl/ Our benchmarking data and tutorial are available at: https://rjkyng.github.io/SDDM2023/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑