フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to code variables in GA which are changing with in "for" loop

2 ビュー (過去 30 日間)
Ayesha Maroof
Ayesha Maroof 2018 年 12 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I want to minimze my function in which my x and y is depending on two other values i and j .x(i,,j) and y(j,k).So I am using "for" loops i and j and k for that. But i dont know how to define these values of x nd y in genetic algorithm function as ga takes x(1),x(2),x(3 ... as names of variables.For example my function is:
where x(i,j) and y(j,k) are my decision variable which should be changing for every value of i and j and k. Can I define them as x(i,j,(1)) and x(j,k(,2))? Though it gives me error

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by