how to setup an optimization faster?

조회 수: 3 (최근 30일)
Elvin Su
Elvin Su 2014년 5월 1일
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개)

카테고리

Help CenterFile 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!

Translated by