Learn R Programming

glpkAPI (version 1.2.11)

getColPrimGLPK: Retrieve Column Primal Value

Description

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

Usage

getColPrimGLPK(lp, j)

Arguments

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

Value

  • The primal value of the j-th column (the corresponding structural variable) is returned.

Details

Interface to the C function getColPrim which calls the GLPK function glp_get_col_prim.

References

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