Nothing
#' @title
#' MOP5 function generator.
#'
#' @description
#' MOP5 function from Van Valedhuizen's test suite.
#'
#' @note
#' Original box constraints where \eqn{[-3, 3]}.
#'
#' @references
#' R. Viennet, C. Fonteix, and I. Marc, "Multicriteria optimization using a
#' genetic algorithm for determining a Pareto set," Int. J. Syst. Sci., vol. 27,
#' no. 2, pp. 255-260, 1996
#'
#' @return [\code{smoof_multi_objective_function}]
#' @export
makeMOP5Function = function() {
# C implementation
fn = function(x) {
assertNumeric(x, len = 2L, any.missing = FALSE, all.missing = FALSE)
return(.Call("mof_MOP5", x))
}
makeMultiObjectiveFunction(
name = "MOP5 function",
id = sprintf("MOP5-%id-%io", 2L, 3L),
description = "MOP5 function",
fn = fn,
par.set = makeNumericParamSet(
len = 2L,
id = "x",
lower = rep(-30, 2L),
upper = rep(30, 2L),
vector = TRUE
),
n.objectives = 3L
)
}
class(makeMOP5Function) = c("function", "smoof_generator")
attr(makeMOP5Function, "name") = c("MOP5")
attr(makeMOP5Function, "type") = c("multi-objective")
attr(makeMOP5Function, "tags") = c("multi-objective")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.