How to Control optimizaiton's variable changing step
古いコメントを表示
Hi mathworks Heroes !
I was wondering if there is any way to adjust the optimized variables step changement,because i want to optimize a variable that can only change by a decimal degit (1,2,3,4,5....) .
i'am using optimization Toolbox (Fmincon)
thanks in advance
採用された回答
その他の回答 (1 件)
Alex Alex
2021 年 1 月 28 日
1 投票
Try to create a nonlinear constraint function that selects only integer values of the variables being optimized
カテゴリ
ヘルプ センター および 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!