Pattersearch optimisation Integer variable

Im adapting a GA code for PS optimization. It works ok and faster than GA.
However it hits an error sometimes and Iv narrowed it down to it using real optimisation variables. How can I force integer variables?
To make the original GA code faster I made an input file of feasible points and the optimization variable is the index of the points from that file. In GA it was straight forwards to set integer only variable.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Optimization Toolbox 的更多信息

提问:

Mo
2015-1-16

编辑:

Mo
2015-1-16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by