Definin integer variables in fmincon optimization
15 ビュー (過去 30 日間)
古いコメントを表示
Hello, I am working on optimization toolbox of Matlab. We have nonlinear constraints and a minimization function. We have 8 variables to optimize however three of these variables are integer and how can I set these variables as integer or how can I put a constraint related with that point. I am currently using fmincon solver
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 10 月 18 日
nonlcon parameter and have the routine check for integer
This could end up being entirely impractical
Rounding the values before use would probably be more efficient, but might bog down on the final minimization.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!