Set/Change Constraint Names
Set or change names of constraints (rows) used in a optimization problem.
## S4 method for signature 'optObj_clpAPI,numeric,character' setRowsNames(lp, i, names) ## S4 method for signature 'optObj_cplexAPI,numeric,character' setRowsNames(lp, i, names) ## S4 method for signature 'optObj_glpkAPI,numeric,character' setRowsNames(lp, i, names) ## S4 method for signature 'optObj_lpSolveAPI,numeric,character' setRowsNames(lp, i, names)
lp |
An object extending class |
i |
A numeric vector of row indices. |
names |
A character vector of the same length as |
NULL
is invisibly returned.
signature(lp = "optObj_clpAPI", i = "numeric", names = "character")
method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI", i = "numeric", names = "character")
method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI", i = "numeric", names = "character")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI", i = "numeric", names = "character")
method to use with package optObj_lpSolveAPI.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.