L_objective {ROI} | R Documentation |
Linear Objective Function
Description
A linear objective function is typically of the form
c^\top
x
where c
is a (sparse) vector of coefficients to the
n
objective variables x
.
Usage
L_objective(L, names = NULL)
## S3 method for class 'L_objective'
terms(x, ...)
as.L_objective(x)
## S3 method for class 'L_objective'
variable.names(object, ...)
Arguments
L |
a numeric vector of length |
names |
an optional character vector giving the names of |
x |
an R object. |
... |
further arguments passed to or from other methods |
object |
an R object. |
Value
an object of class "L_objective"
which inherits
from "Q_objective"
and "objective"
.
Author(s)
Stefan Theussl
[Package ROI version 1.0-1 Index]