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 日

0 投票

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