objective (Set/Get) | R Documentation |
The objective of a given optimization problem (OP)
can be accessed or mutated via the method 'objective'
.
objective(x)
objective(x) <- value
as.objective(x)
x |
an object used to select the method. |
value |
an R object. |
a function inheriting from "objective"
.
Stefan Theussl
x <- OP()
objective(x) <- 1:3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.