Learn R Programming

sybil (version 2.0.0)

getRowsNames-methods: Retrieve Constraint Names

Description

Get names of constraints (rows) used in a optimization problem.

Usage

# S4 method for optObj_cplexAPI,numeric
getRowsNames(lp, i)

# S4 method for optObj_glpkAPI,numeric getRowsNames(lp, i)

# S4 method for optObj_lpSolveAPI,numeric getRowsNames(lp, i)

Arguments

lp

An object extending class '>optObj.

i

A numeric vector of row indices.

Value

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

Methods

signature(lp = "optObj_cplexAPI", i = "numeric")

method to use with package optObj_cplexAPI.

signature(lp = "optObj_glpkAPI", i = "numeric")

method to use with package optObj_glpkAPI.

signature(lp = "optObj_lpSolveAPI", i = "numeric")

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.