Learn R Programming

sybil (version 2.0.0)

getColsNames-methods: Retrieve Variable Names

Description

Get names of variables (columns) used in a optimization problem.

Usage

# S4 method for optObj_cplexAPI,numeric
getColsNames(lp, j)

# S4 method for optObj_glpkAPI,numeric getColsNames(lp, j)

# S4 method for optObj_lpSolveAPI,numeric getColsNames(lp, j)

Arguments

lp

An object extending class '>optObj.

j

A numeric vector of column indices.

Value

A character vector of column names, if names are existing.

Methods

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.

See Also

Superclass '>optObj and constructor function optObj.