Efficient implementation of linprog
이전 댓글 표시
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
Matt J
2015년 5월 24일
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
2015년 5월 24일
편집: John D'Errico
2015년 5월 24일
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
2016년 3월 16일
편집: Shiv Tewari
2016년 3월 16일
https://parallellp.wordpress.com/
William Handler
2018년 2월 20일
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?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!