Strategy for finding optimal omega in SOR method
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I had written an algorithm that searches for the optimal weight parameter to be implemented in the successive-over relaxation (SOR) method which worked cleanly by vectorizing the interval
and for each ω the spectral radius of the iteration matrix is computed.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/711557/image.png)
However, I was advised not to use this approach for large sparse matrices as it is expensive to compute (the same way computing condition number of a large matrix is unfeasible) and rather use it as a demonstration tool. Therefore, I was wondering what strategy is the best to approximate the optimal weight parameter for large sparse systems (
) that would allow the best convergence of the SOR.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/711562/image.png)
Furthermore, as a result of my question I was wondering if classical iterative stationary methods such as Jacobi, Gauss-Seidel, and the SOR are worthy to be used nowadays in dealing with large sparse systems or is the default preference Krylov methods?
0 commentaires
Réponses (1)
nour
le 27 Juin 2024
A = [5 2 -1; 2 6 3; 1 4 -8];
b = [1; 2; 1];
x0 = [0; 0; 0];
e = 0.001;
0 commentaires
Voir également
Catégories
En savoir plus sur Calculus dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!