Learn R Programming

glpkAPI (version 1.2.11)

getColsPrimGLPK: Retrieve all Column Primal Values

Description

This is an advanced version of getColPrimGLPK.

Usage

getColsPrimGLPK(lp)

Arguments

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

Value

  • Returns all values of the stuctural variables as a numeric vector.

Details

Interface to the C function getColsPrim which calls the GLPK functions glp_get_col_prim and glp_get_num_cols.

References

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