arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.06511cs.DC
收藏

基于线性系统与迭代法的I-485公路交通建模与仿真

Modeling and Simulation of Traffic on I-485 via Linear Systems and Iterative Methods

Dominic Kealoha, Fabiola Rojas, Xingjie Li

AI总结:

本研究对比分析Jacobi、Gauss-Seidel、SOR三种迭代法的收敛特性与效率,开发了可自动选择最快收敛方法的Python工具,并将其应用于I-485公路交通流建模,为交通拥堵识别与基础设施规划提供数据支撑。

摘要:

雅可比(Jacobi)、高斯-赛德尔(Gauss-Seidel)和逐次超松弛(Successive Over-Relaxation, SOR)等迭代法,是各科学领域求解大型线性方程组的基础工具,在过去十年愈发重要的数据科学领域尤其如此。迭代法采用矩阵乘法而非矩阵求逆,非常适合快速求解大型系统。本研究探究了每种方法决定其各自优势、局限性与收敛特性的因素,以理解这些方法如何解决手工执行矩阵运算时遇到的缺陷,以及它们如何应用于现实场景。在手工实现每种方法以理解算法工作原理后,我们开发了一个Python程序,可根据每种方法的特定收敛准则评估用户给定的矩阵。该程序会比较三种方法的谱半径,选择执行收敛速度最快的方法。研究揭示了数学建模以及理解系数矩阵特定性质的重要性。我们观察到,Gauss-Seidel通常是最高效的方法,因为它比Jacobi速度更快,且没有SOR那样严格的要求,但就计算速度而言SOR是最优选择。我们将所得知识用于构建夏洛特市I-485公路的交通流模型。在开发出生成该模型矩阵的程序后,我们利用北卡罗来纳州交通部(N.C. Department of Transportation)的数据,通过迭代法近似估算了相邻出口之间的车流量。这些信息可识别出最拥堵的区域,可用于为未来的基础设施建设提供参考。

英文摘要:

Iterative methods such as Jacobi, Gauss-Seidel, and Successive Over-Relaxation (SOR) are fundamental tools in solving large systems of linear equations across various scientific fields, particularly in the field of data science which has become increasingly relevant in the past decade. Iterative methods' use of matrix multiplication rather than matrix inverses makes them ideal for solving large systems quickly. Our research explores the factors of each method that define their respective strengths, limitations, and convergence behaviors to understand how these methods address drawbacks encountered when performing matrix operations by hand, as well as how they can be used in real world applications. After implementing each method by hand to understand how the algorithms work, we developed a Python program that assesses a user-given matrix based on each method's specific convergence criteria. The program compares the spectral radii of all three methods and chooses to execute whichever will yield the fastest convergence rate. Our research revealed the importance of mathematical modeling and understanding specific properties of the coefficient matrix. We observed that Gauss-Seidel is usually the most efficient method because it is faster than Jacobi and doesn't have as strict requirements as SOR, however SOR is ideal in terms of computation speed. We applied the knowledge we gained to create a traffic flow model of the I-485 highway in Charlotte. After creating a program that generates the matrix for this model, we were able to iteratively approximate the flow of cars through neighboring exits using data from the N.C. Department of Transportation. This information identifies which areas are the most congested and can be used to inform future infrastructure development.

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

↑