Retrieve Types of Specified Constraints (Rows)
This is an advanced version of getRowTypeGLPK
. Here, i
can be an integer vector.
getRowsTypesGLPK(lp, i)
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.Interface to the C function getRowsTypes
which calls the GLPK function glp_get_row_type
.
A numeric vector of the same length as i
giving the constraint type of the specified rows.
Based on the package glpk
by Lopaka Lee.
The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html.
Gabriel Gelius-Dietrich geliudie@uni-duesseldorf.de
Maintainer: Mayo Roettger mayo.roettger@hhu.de
glpkConstants
, section type of auxiliary/structural variable .
Useful links
Downloads (last 30 days):