multiple constraints in genetic algorithm
显示 更早的评论
I have around 15 different constraints are there in formulation of genetic algorithm. So how can I write that in toolbox because it has only 1 field for inequality constraint?
回答(1 个)
Alan Weiss
2012-10-26
0 个投票
You can write as many constraints as you like. Take a look at the Optimization Toolbox documentation on writing constraints.
Here is an example of two nonlinear constraints.
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!