Learn R Programming

glpkAPI (version 1.3.4)

getRowsTypesGLPK: Retrieve Types of Specified Constraints (Rows)

Description

This is an advanced version of getRowTypeGLPK. Here, i can be an integer vector.

Usage

getRowsTypesGLPK(lp, i)

Value

A numeric vector of the same length as i giving the constraint type of the specified rows.

Arguments

lp

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

i

Vector of row numbers.

Author

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

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

Details

Interface to the C function getRowsTypes which calls the GLPK function glp_get_row_type.

References

Based on the package glpk by Lopaka Lee.

The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html.

See Also

glpkConstants, section ‘type of auxiliary/structural variable’.