setColsNames-methods: Set/Change Variable Names

setColsNames-methodsR Documentation

Set/Change Variable Names

Description

Set or change names of variables (columns) used in a optimization problem.

Usage

## S4 method for signature 'optObj_clpAPI,numeric,character'
setColsNames(lp, j, names)

## S4 method for signature 'optObj_cplexAPI,numeric,character'
setColsNames(lp, j, names)

## S4 method for signature 'optObj_glpkAPI,numeric,character'
setColsNames(lp, j, names)

## S4 method for signature 'optObj_lpSolveAPI,numeric,character'
setColsNames(lp, j, names)

Arguments

lp

An object extending class optObj.

j

A numeric vector of column indices.

names

A character vector of the same length as j containing the column names.

Value

NULL is invisibly returned.

Methods

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.

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

See Also

Superclass optObj and constructor function optObj.


SysBioChalmers/sybil documentation built on Aug. 24, 2023, 1:08 p.m.