![]() Initially I wrote one function to create evenly spaced sequences for every decision between the lower and upper bound of allowable values, from which I enumerated all possible combinations using id(). The ga() function within the GA package in R allows for a suggestions argument, which takes a matrix of decision values and places them within the starting population. Having a good distribution of “genes”, or decisions within the initial population is key to allowing a GA to effectively explore the decision space. The background to this is that I have been working on improving the convergence of an optimisation package that uses genetic algorithms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |