Efficient implementation of linprog
Show older comments
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 Comments
Matt J
on 24 May 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
on 24 May 2015
Edited: John D'Errico
on 24 May 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
on 16 Mar 2016
Edited: Shiv Tewari
on 16 Mar 2016
https://parallellp.wordpress.com/
William Handler
on 20 Feb 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?
Answers (0)
Categories
Find more on Solver Outputs and Iterative Display 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!