how to setup an optimization faster?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am using 'fmincon' to solve an optimization problem for feedback control. I need to solve it repeatedly at every sampling time. The optimization problems are the same except that only a few parameters' value change.
Currently, I use 'fmincon' to solve it. And I have to define the optimization problem completely at every sampling time. It is quite time consuming. I guess the time to build the optimization problem is even longer than the time to solve it.
I am wondering is there a smart method to program, such that the time spend on define the optimization problem is less.
I am also trying to write the code in CVX, a convex optimization package. So if anyone know how to do that in CVX, it would be great as well.
Any suggestions are welcome. Thanks a lot.
Cheers Elvin
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Optimization Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!