Description Usage Arguments Value Methods Note Author(s) See Also
Get names of variables (columns) used in a optimization problem.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'optObj_cplexAPI,numeric'
getColsNames(lp, j)
## S4 method for signature 'optObj_glpkAPI,numeric'
getColsNames(lp, j)
## S4 method for signature 'optObj_lpSolveAPI,numeric'
getColsNames(lp, j)
|
lp |
An object extending class |
j |
A numeric vector of column indices. |
A character vector of column names, if names are existing.
signature(lp = "optObj_cplexAPI", j = "numeric")
method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI", j = "numeric")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI", j = "numeric")
method to use with package optObj_lpSolveAPI.
For the optObj_glpkAPI
method: the result vector may
be shorter than j
, if some names are missing.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Superclass optObj
and constructor function
optObj
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.