can genetic algorithm optimizer be used with nonlinear constraint as a simulation function?
1 view (last 30 days)
Show older comments
Mustafa Al-tekreeti
on 6 Mar 2017
Commented: Mustafa Al-tekreeti
on 9 Mar 2017
Min objfunction(x) subject to: C(x)<=0 where C(x) is a matlab simulation file
0 Comments
Accepted Answer
Walter Roberson
on 6 Mar 2017
6 Comments
Walter Roberson
on 8 Mar 2017
If you need integer constraints along with nonlinear constraints, then you need to use a work-around. Do not tell it there are integer constraints: instead provide your own custom population function, mutation function, and cross-over function, all of which "just happen" never to emit a population member that would violate your integer constraints.
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!