getRowsTypesGLPK: Retrieve Types of Specified Constraints (Rows)

View source: R/glpkAPI.R

getRowsTypesGLPKR Documentation

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)

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.

Details

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

Value

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

Author(s)

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

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

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’.


glpkAPI documentation built on Nov. 10, 2022, 5:51 p.m.