Info
此问题已关闭。 请重新打开它进行编辑或回答。
Question regarding the GA optimization
1 次查看(过去 30 天)
显示 更早的评论
Hi,I have a question regarding the GA optimizationquestion.I have two constraints.The limits of my first constraint is user defined.The limits of second constraint are the outputs from the first constraint.Can we have such possibility in GA
3 个评论
Walter Roberson
2019-7-19
Nonlinear constraint functions do not return outputs which are verified with respective defined limits. Nonlinear constraint functions return a two (or four) values that are compared to <= 0 for the nonlinear inequalities, and are compared == 0 for the nonlinear equalities.
It is not possible for a nonlinear constraint function to modify the ub / lb criteria dynamically: they can only reply talking about whether the current trial values satisfy the constraints.
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!