makeOptimizationTask(fun, n.objectives = NULL, minimize = NULL, objective.names = NULL)
function
| smoof_function
]
Fitness/objective function.integer(1)
]
Number of objectives. This must be a positive integer value unless fun
is of type smoof_function
.logical
]
A logical vector indicating which objectives to minimize/maximize. By default
all objectives are assumed to be minimized.character
]
Names for the objectuves.
Default is NULL
. In this case the names are set to y1, ..., yn with
n equal to n.objectives
and simply y in the single-objective case.ecr_optimization_task
]