I am beginner at the area of optimization. Normally, I download the GA, PSO codes from internet and then I modify them according to my problem and run it on Matlab.
In binary GA, most of the codes available in the internet does not mention about the variable limits, or the codes are given for only one or two variables. But, when we want to set multiple variable limits like upper and lower bounds of 10-20 variables. How to do it and how I should modify the basic crossover, mutation function for large number of variables. Any suggestion or help will be appreciated.