Learn R Programming

glpkAPI (version 1.2.11)

findColGLPK: Find Column by its Name

Description

Low level interface function to the GLPK function glp_find_col. Consult the GLPK documentation for more detailed information.

Usage

findColGLPK(lp, cname)

Arguments

lp
An object of class "glpkPtr" as returned by initProbGLPK. This is basically a pointer to a GLPK problem object.
cname
A column name.

Value

  • Returns the ordinal number of a column, which is assigned the specified cname.

Details

Interface to the C function findCol which calls the GLPK function glp_find_column.

References

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