Efficient implementation of linprog
Afficher commentaires plus anciens
I am using linprog to solve a linear optimization problem with thousands of constraints. I have noticed that for constraints more than a few thousand the matlab implementation of linprog performs very slow. Are there any GPU(CUDA) or parallel implementations of linprog available within Matlab or elsewhere ?
4 commentaires
Matt J
le 24 Mai 2015
What are the dimensions of your problem? And which algorithm have you selected? The default interior point algorithm?
I don't know of any parallel implementations. For that matter, I can't immediately see whether the computations in these algorithms have much parallel structure to begin with.
John D'Errico
le 24 Mai 2015
Modifié(e) : John D'Errico
le 24 Mai 2015
People get spoiled. They have this immensely powerful computer on their lap, and they want it to be infinitely fast on any problem they throw at it. And if it runs fine with only 1000 variables, then they want it to run just as quickly with 10000 or 1000000 variables. If not, then there must be some easy fix.
Too many movies and TV shows where the computers do everything immediately.
Computers have a finite capability. And no matter how large that finite capability is, there will always be someone who decides they need to make their problem just slightly larger. After all, if the problem was trivial, then how could you call it research?
I think Matt has a good point. I'm not sure this is a code that would be simply or usefully parallelized.
Shiv Tewari
le 16 Mar 2016
Modifié(e) : Shiv Tewari
le 16 Mar 2016
https://parallellp.wordpress.com/
William Handler
le 20 Fév 2018
Not sure why Enrico is so down on your question. I would also be interested in a parallel version of linprog, dod you get anywhere with it?
Réponses (0)
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!