loadQobj-methods: Load Quadratic Part of the Objective Function to the Optimization Problem
Description
load quadratic part of the objective function to the optimization problem.
Usage
# S4 method for optObj_cplexAPI,Matrix
loadQobj(lp, mat)
# S4 method for optObj_cplexAPI,numeric
loadQobj(lp, mat)
Arguments
lp
An object extending class '>optObj
.
mat
An object of class Matrix
or a numeric
vector
containing the quadratic objective Matrix \(Q\).
Methods
signature(lp = "optObj_cplexAPI", mat = "Matrix")
method to use with package optObj_cplexAPI and if mat
is
of class '>Matrix
.
signature(lp = "optObj_cplexAPI", mat = "numeric")
method to use with package optObj_cplexAPI and if mat
is
a numeric
vector.
See Also
Superclass '>optObj
and constructor function
optObj
.