Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

GA Optimization ... Maximum recursion limit of 500 reached

$
0
0
Hi everybody,
I am Mamdouh, it is my first post :) , however, I am not new in MATLAB
I am working on GA Optimization for the first time.

I am working on wind farm layout optimization ... having 3 variables :
1- turbine type, ................ 28 turbines
2- hub height, and
3- turbine location.

if one of the 28 turbine types that I have is chosen, its own characteristics (a vector of 10 elements) must be used in calculations.
so, I have a tabulated database (28 x 10) on .xls spreadsheet needed for the fitness function calculation.


I am not sure if I organized my code in the right way, BUT IT RUNS.
After few seconds I got this common message:

Maximum recursion limit of 500 reached. ... etc. ....

I copied these data on my fitness function code to avoid calling an external matrix, but still having the same problem.

1- How can I avoid that?

2- May somebody help me in organizing my code?

thank you to continue reading until this WORD,
Best Regards for ALL,
MAMDOUH.

Viewing all articles
Browse latest Browse all 19628

Trending Articles