Types - Accessor and Mutator Functions
types(x) types(x) <- value
x |
an object used to select the method. |
value |
an R object. |
a character vector.
Stefan Theussl
## minimize: x + 2 y ## subject to: x + y >= 1 ## x, y >= 0 x, y are integer x <- OP(objective = 1:2, constraints = L_constraint(c(1, 1), ">=", 1)) types(x) <- c("I", "I") types(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.