Matlab solver for unconstrained convex optimization
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a large scale unconstrained convex optimization problem as follows
min
, where
and u are N-dimensional vectors, λ is a scalar. They are all provided before optimization. Here, M and N are very large.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1558519/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1558524/image.png)
I use fminunc function in matlab, but it is too slow. Does matlab have some accelerated solver for the above unconstrained convex optimization?
댓글 수: 0
채택된 답변
John D'Errico
2023년 12월 2일
Everybody wants things to be incredibly fast. Large problems can take large time.
Nothing stops you from writing a simple gradient descent solver. Put a line search on it. Will it work well? Who knows.
In fact, I see that fminunc can perform a simple gradient descent scheme.
In there, we see the flag to cause fminunc to use gradient descent.
Finally, if the objective function is as simple as you show, then you will probably gain by providing the Jacobian yourself, instead of letting it compute the gradient using a finite difference.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!