optimization toolbox-quick question
2 次查看(过去 30 天)
显示 更早的评论
Hello..
One question: How to use the optimization toolbox (ga) for a problem with 4 variables and three inequality constrains?
Thanks! B.
0 个评论
采纳的回答
Geoff Hayes
2015-5-17
B - have you looked at the documentation found at ga? The first example discusses an optimization problem of two variables with three inequality constraints so I suspect that it can be extended to your problem of 4 variables and three inequality constraints.
2 个评论
Geoff Hayes
2015-5-21
B - one of the examples from the above link corresponds to an optimization problem of two variables so you should be able to adapt that for your purposes.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!