Particle Swarm Optimization to solve matrix inversion
Show older comments
Hi everyone,
I am Huda, and I am working with matrix inversion. I am really new with PSO and I would like to know is it possible to use PSO for a large size matrix inversion (eg., 16x16, or 64x64)? From a linear equation, Ax=b, we can find x by several techniques such as Gauss-Jordan elimination, and we know that AA^(-1) =I. Thus, I wonder if PSO can solve this problem by computing A^(-1) iteratively.
If yes, can you share with me any material that can guide me to start my work. But, If matrix inversion with PSO will give bad result, can you advise any technique that suitable to use?
Thank you for your response.
5 Comments
John D'Errico
on 7 Jan 2019
Edited: John D'Errico
on 7 Jan 2019
Use of a partical swarm optimizer to solve for the inverse of even a moderately large matrix is a flat out incredibly poor idea.
Since there are quite accurate means to solve whatever problem it is that you really want to solve using linear algebra, use those methods.
Is the reason you wish to do this because the matrix is singular? If so, there is nothing PSO can do for you. So is there a valid reason why you think there is some better way to do linear algebra, than to just use linear algebra?
John D'Errico
on 8 Jan 2019
Please don't use an answer to make acomment. Moved from an answer:
"My goal is to find the inversion of a nonsingular matrix. Why I am interested to apply PSO for matrix inversion, is because I found that PSO is kind of an iterative method to get the best solution. I do use a few iterative techniques to invert a nonsingular matrix in order to reduce the computational complexity. I wonder, if I can further reduce the complexity if I can apply PSO to invert the matrix."
John D'Errico
on 8 Jan 2019
Edited: John D'Errico
on 8 Jan 2019
Again, no. Just because PSO can be used for optimizations, does not mean it would be good to solve a linear algebra problem. That is something that has been implemented in a very computationally efficient way. Use of PSO for that would in fact be not a reduction in computation complexity, but a MASSIVE increase in that complexity. Just because some tool CAN theoretically be used to solve some problem does not mean it would be even remotely a good tool for that purpose. PSO would be an obscenely bad way to solve a linear algebra problem, compared to the existing tools we have available.
Nurulhuda Ismail
on 8 Jan 2019
Nurulhuda Ismail
on 8 Jan 2019
Accepted Answer
More Answers (0)
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!