optimize three parameters using genetic algorithm

2 ビュー (過去 30 日間)
Arunachalam  D
Arunachalam D 2015 年 4 月 1 日
回答済み: Alan Weiss 2015 年 4 月 1 日
i have r=x(1)-x(2); y=x(3)-x(2); x=r/y; % how to get an optimized result using genetic algorithm % i have only bounds for x(1),x(2),x(3) given below nvars=3; LB=[250 50 90] UB=[290 70 130] plese help me to code this. i am getting so many errors. thank you

回答 (1 件)

Alan Weiss
Alan Weiss 2015 年 4 月 1 日
I suggest that you look at an introductory example of how to code a fitness function, and the documentation on setting bounds. You could also consult an example using constraints and GA.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by