I am trying to optimize a function that is non-linear in parameters, three in number. I am using Genetic Algorithms (GA) for this purpose. Thus, I have a function of time that is non-linear in three parameters as time-series data. I am using the ga() function of the GA package in R language for the purpose. However, as I see, the initial values that I set for the parameters heavily influences the parameters computed by the ga() function. I also read the following article:

Scrucca, L. (2013). GA: a package for genetic algorithms in R. Journal of Statistical Software, 53(4), 1-37.

In section 4.4 Curve Fitting, if I use the following initial values (min, max): a(1000, 10,000), b(0,10), and c(0.5, 10) instead of the ones used, that is a(3000, 4000), b(0, 1) and c(2, 4) I get completely different results from the ones obtained by the paper. I get a=2772, b=.0235, c=4.07 as against a= 3534.741, b=0.01575454, c= 2.800797 in the paper.

My understanding is that global optimization techniques such as GA would be able to find out global optima irrespective of initial values although it might take more or less iterations depending on the initial values of parameters. Why is this not happening in case of my function and also the example that I cited?

Thanking you all in advance.

Similar questions and discussions