Q_objective | R Documentation |
A quadratic objective function is typically of the form
\frac{1}{2} x^\top Qx + c^\top x
where Q
is a (sparse) matrix
defining the quadratic part of the function and c
is a
(sparse) vector of coefficients to the n
defining the linear
part.
Q_objective(Q, L = NULL, names = NULL)
## S3 method for class 'Q_objective'
terms(x, ...)
as.Q_objective(x)
## S3 method for class 'Q_objective'
variable.names(object, ...)
Q |
a |
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. |
an object of class "Q_objective"
which inherits
from "objective"
.
Stefan Theussl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.