フィルターのクリア

How do I setup Matlab Genetic Algorithms Constraints?

2 ビュー (過去 30 日間)
Nikos
Nikos 2011 年 6 月 18 日
I have problem on building the constraints matrices of genetic algorithms in Matlab. I want to import these matrices in GA function for a problem that has the following constraints:
a1<a2<a3...an-1<an , 0<ai<90, n=number of variables. Matlab's documentation didn't help me because it refers only to simple equations and not to this kind of constraints.
I'm new to GA and every help would be acceptable!

回答 (2 件)

Karthik  Vemireddy
Karthik Vemireddy 2011 年 11 月 28 日
Hi Nikos,
even i have a similar issue, i have to define a variable constraint similar to a1<a2<a3 etc for my multiobj GA... Have you figured out how to do that?

Karthik  Vemireddy
Karthik Vemireddy 2011 年 12 月 2 日
Heyy,
The solution for this query can be found in the documentation for Optimization tool box >> Writing Constraints >> Linear Inequality Constraints.

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by