本文实现并评估 TA 与 CTA 线性系统求解器,在大规模方阵和矩形矩阵上于运行时间、残差质量及收敛稳定性方面优于 GMRES 和 lsqminnorm,并扩展至 LP 可行性问题。
摘要:
我们对由 Kalantari 开发的一类线性系统求解器——Triangle Algorithm(TA,三角算法)和 Centering Triangle Algorithm(CTA,定心三角算法)——进行了全面的计算研究。这些算法计算 Ax=b 或 A^TAx=A^Tb 的近似解或最小范数解,其中 A 是任意秩的 m×n 实矩阵。当 A 为对称半正定时,算法有专门的处理方式。基于文献中对 TA 和 CTA 的描述及理论性质,我们给出了一种对从业者易于使用、适用于广泛问题且稳健的算法实现,其稳健性在于我们的实现不对 A 施加任何约束。接下来,我们将该实现与两种最先进算法 GMRES 和“lsqminnorm”的 Matlab 实现进行计算比较。我们考虑方阵和矩形矩阵,其中 m 最高达 10000,n 最高达 1000000,涵盖多种应用。结果表明,我们的实现在运行时间和残差质量方面均优于 GMRES 和“lsqminnorm”。此外,CTA 的相对残差下降速度明显快于 GMRES,且表现更一致;我们的实现能提供高精度近似,甚至比 GMRES 报告不收敛还要快。相对于“lsqminnorm”,我们的实现运行更快,并产生更优的解。此外,我们还对 CTA 中残差迭代的动态进行了理论研究,并辅以具有揭示性的可视化。最后,我们将 TA 扩展到 LP 可行性问题,以处理非负约束。计算结果表明,这一扩展的实现与 TA 和 CTA 的表现相当,表明其在线性规划及相关问题中的适用性。
英文摘要:
We present a comprehensive computational study of a class of linear system solvers, called {\it Triangle Algorithm} (TA) and {\it Centering Triangle Algorithm} (CTA), developed by Kalantari \cite{kalantari23}. The algorithms compute an approximate solution or minimum-norm solution to $Ax=b$ or $A^TAx=A^Tb$, where $A$ is an $m \times n$ real matrix of arbitrary rank. The algorithms specialize when $A$ is symmetric positive semi-definite. Based on the description and theoretical properties of TA and CTA from \cite{kalantari23}, we give an implementation of the algorithms that is easy-to-use for practitioners, versatile for a wide range of problems, and robust in that our implementation does not necessitate any constraints on $A$. Next, we make computational comparisons of our implementation with the Matlab implementations of two state-of-the-art algorithms, GMRES and ``lsqminnorm". We consider square and rectangular matrices, for $m$ up to $10000$ and $n$ up to $1000000$, encompassing a variety of applications. These results indicate that our implementation outperforms GMRES and ``lsqminnorm" both in runtime and quality of residuals. Moreover, the relative residuals of CTA decrease considerably faster and more consistently than GMRES, and our implementation provides high precision approximation, faster than GMRES reports lack of convergence. With respect to ``lsqminnorm", our implementation runs faster, producing better solutions. Additionally, we present a theoretical study in the dynamics of iterations of residuals in CTA and complement it with revealing visualizations. Lastly, we extend TA for LP feasibility problems, handling non-negativity constraints. Computational results show that our implementation for this extension is on par with those of TA and CTA, suggesting applicability in linear programming and related problems.
Comparison of substructured non-overlapping domain decomposition and overlapping additive Schwarz methods for large-scale Helmholtz problems with multiple sources