Set or change names of variables (columns) used in a optimization problem.
# S4 method for optObj_clpAPI,numeric,character
setColsNames(lp, j, names)# S4 method for optObj_cplexAPI,numeric,character
setColsNames(lp, j, names)
# S4 method for optObj_glpkAPI,numeric,character
setColsNames(lp, j, names)
# S4 method for optObj_lpSolveAPI,numeric,character
setColsNames(lp, j, names)
A numeric vector of column indices.
A character vector of the same length as j containing the
    column names.
NULL is invisibly returned.
signature(lp = "optObj_clpAPI", j = "numeric", names = "character")method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI", j = "numeric", names = "character")method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI", j = "numeric", names = "character")method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI", j = "numeric", names = "character")method to use with package optObj_lpSolveAPI.
Superclass '>optObj and constructor function
  optObj.