DTLZ1: The DTLZ1 test function.

Description Usage Arguments Value References Examples

View source: R/functions.R

Description

The DTLZ1 test function.

Usage

1
DTLZ1(individual, nObj)

Arguments

individual

The vector of individual (or matrix of population) to be evaluated.

nObj

The number of objective

Value

A matrix of size nObjective x population size, containing the objective values for each individual.

References

Deb, K., Thiele, L., Laumanns, M., Zitzler, E.: Scalable Multi-Objective Optimization Test Problems. In: Congress on Evolutionary Computation (CEC). pp. 825–830. IEEE Press, Piscataway, NJ (2002)

Examples

1
2
3
individual <- stats::runif(14)
nObj <- 4
DTLZ1(individual,nObj)

Example output

Check required python modules:
reticulate::py_module_available('numpy') and reticulate::py_module_available('pygmo').
If not available, try using MaOEA::install_python_dependencies()
or follow the instructions in https://esa.github.io/pagmo2/install.html
and call MaOEA::load_python_dependencies().
          [,1]
[1,]  15.23226
[2,]  16.33718
[3,] 231.30785
[4,] 194.38577

MaOEA documentation built on Aug. 31, 2020, 5:07 p.m.