AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Excel vba latin hypercube sampling3/12/2024 ![]() This is true even if you only select the upper and lower bound per decision. I then wrote another function to take a model object and a user-defined population size and automatically work out the nearest population count that allowed for even sampling over the model’s decision bounds.įor models with large numbers of decisions the potential number of combinations is enormous. 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
Read More
Leave a Reply. |