Problem with Genetic Algorithm

1 次查看(过去 30 天)
I use Genetic Algorithm for optimization of 6 parameters and they limited between 0-100 with Lower and Upper bounds in constrains but in running time it's also setting a negetive number(out of that range)!Why it's occure?

采纳的回答

Alan Weiss
Alan Weiss 2013-3-29
It is possible that you aren't setting bounds on all components. See the documentation of bounds.
For example, your lower bounds should be zeros(6,1), and your upper bounds should be 100*ones(6,1).
Alan Weiss
MATLAB mathematical toolbox documentation

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by