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
Alan Weiss 2012-10-26
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

类别

提问:

2012-10-26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by