create_population: Create population

View source: R/create_population.R

create_populationR Documentation

Create population

Description

Create a population for the MOEADr package

Usage

create_population(N, problem)

Arguments

N

population size

problem

list of named problem parameters. See Section Problem Description of the moead() documentation for details.

Details

This routine creates a population matrix for the MOEA/D. Currently only a multivariate uniform distribution is implemented. All points are created within the standardized space 0 ≤ x_i ≤ 1, i = 1,...,n_v.

Value

A population matrix X for the MOEA/D.

References

F. Campelo, L.S. Batista, C. Aranha (2020): The MOEADr Package: A Component-Based Framework for Multiobjective Evolutionary Algorithms Based on Decomposition. Journal of Statistical Software doi: 10.18637/jss.v092.i06

Examples

ex.problem <- list(name = "example_problem",
                   xmin = rep(-1, 5),
                   xmax = rep(1, 5),
                   m    = 2)
X <- create_population(20, ex.problem)


MOEADr documentation built on Jan. 9, 2023, 1:24 a.m.