How to Control optimizaiton's variable changing step
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Alex Alex
am 28 Jan. 2021
1 Stimme
Try to create a nonlinear constraint function that selects only integer values of the variables being optimized
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!