Filter löschen
Filter löschen

Can you control the RAM usage in quadratic programming?

1 Ansicht (letzte 30 Tage)
J Fong
J Fong am 7 Mär. 2017
Beantwortet: Prateek Khandelwal am 14 Mär. 2017
Hi,
My current machine has 24 cores and 48GB RAM. My code has a minimization step with quadprog, which, though fast, takes a lot of RAM (I think around 16GB?), so I can only use a few cores when parallelizing my code, which has other slower steps. Is it possible to limit the RAM usage of quadprog to make it a little slower, but allow more cores to be used, leading to a faster result?

Antworten (1)

Prateek Khandelwal
Prateek Khandelwal am 14 Mär. 2017
Hi, While limiting the amount of memory consumed by a single thread might not be possible, MATLAB does allow you to specify the maximum array size you can create.
Please see this MATLAB Central thread for more information.

Kategorien

Mehr zu Quadratic Programming and Cone Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by