solve_ga: Genetic algorithm solution approach

View source: R/solve_ga.R

solve_gaR Documentation

Genetic algorithm solution approach

Description

Genetic algorithm solution approach

Usage

solve_ga(
  instance,
  centroids,
  no_of_centers,
  obj = c("TOT", "SAFE", "OTV"),
  miter = 10
)

Arguments

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

Value

A list

Examples

# WIP

Rosenkrands/zav documentation built on March 31, 2022, 2:16 p.m.