multiple constraints in genetic algorithm
Show older comments
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?
Answers (1)
Alan Weiss
on 26 Oct 2012
0 votes
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
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!