kofnGA: A Genetic Algorithm for Fixed-Size Subset Selection

Provides a function that uses a genetic algorithm to search for a subset of size k from the integers 1:n, such that a user-supplied objective function is minimized at that subset. The selection step is done by tournament selection based on ranks, and elitism may be used to retain a portion of the best solutions from one generation to the next. Population objective function values may optionally be evaluated in parallel.

Package details

AuthorMark A. Wolters [aut, cre]
MaintainerMark A. Wolters <mark@mwolters.com>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the kofnGA package in your browser

Any scripts or data that you put into this service are public.

kofnGA documentation built on May 1, 2019, 7:06 p.m.