solve_ga | R Documentation |
Genetic algorithm solution approach
solve_ga( instance, centroids, no_of_centers, obj = c("TOT", "SAFE", "OTV"), miter = 10 )
instance |
A list returned from generate_2d_instance |
centroids |
A list returned from grid_centroids |
no_of_centers |
The number of base locations to generate |
obj |
Objective function to use (currently "TOT" or "SAFE") |
miter |
Max number of iterations |
A list
# WIP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.