getRowsTypesGLPK function

Retrieve Types of Specified Constraints (Rows)

Retrieve Types of Specified Constraints (Rows)

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

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.

Returns

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

References

Based on the package glpk by Lopaka Lee.

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

Author(s)

Gabriel Gelius-Dietrich geliudie@uni-duesseldorf.de

Maintainer: Mayo Roettger mayo.roettger@hhu.de

See Also

glpkConstants, section type of auxiliary/structural variable .

  • Maintainer: Mihail Anton
  • License: GPL-3 | file LICENSE
  • Last published: 2022-11-10

Useful links

    Downloads (last 30 days):