A follow up question. Do they automatically detect sparsiy and switch to Large scale mode (sparsity exploited) or do we specifically have to supply some information to use this funtionality ?
Sparsity exploitation in optimization
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
SandeepKumar R
am 5 Mär. 2019
Kommentiert: Alan Weiss
am 6 Mär. 2019
Does the fmincon algorithm exploit sparsity of hessians and jacobians while solving optimization problem ?
0 Kommentare
Akzeptierte Antwort
SandeepKumar R
am 6 Mär. 2019
1 Kommentar
Alan Weiss
am 6 Mär. 2019
Generally, the large-scale algorithms do the conversion to sparse linear algebra internally, and the medium-scale algorthms do the conversion to full linear algebra internally. I tried to state this in the link I gave ("Furthermore, you do not need to specify any sparse matrices to use a large-scale algorithm.").
Alan Weiss
MATLAB mathematical toolbox documentation
Weitere Antworten (1)
Alan Weiss
am 6 Mär. 2019
There are several fmincon algorithms, and they each exploit sparsity differently. The term "large-scale" means that an algorithm exploits sparsity, as explained in Large-Scale vs. Medium-Scale Algorithms. A brief outline of the fmincon algorithms is given here, including which algorithms are large-scale.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!