Learn R Programming

glpkAPI (version 1.2.7)

getColsUppBndsGLPK: Retrieve Upper Bounds of Specified Columns

Description

This is an advanced version of getColUppBndGLPK. Here, j can be an integer vector.

Usage

getColsUppBndsGLPK(lp, j)

Arguments

lp
An object of class "glpkPtr" as returned by initProbGLPK. This is basically a pointer to a GLPK problem object.
j
Vector of column numbers.

Value

  • The upper bounds of all specified columns (j) (the corresponding structural variable) is returned.

Details

Interface to the C function getColsUppBnds which calls the GLPK function glp_get_col_ub.

References

Based on the package glpk by Lopaka Lee. The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html.