Set/Change Row Bounds

Description

This is an advanced version of setRowBndGLPK. Here, i can be an integer vector, lb and ub can be numeric vectors.

Usage

1
  setRowsBndsGLPK(lp, i, lb, ub, type = NULL)

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.

lb

Vector of lower bounds.

ub

Vector of upper bounds.

type

Vector of variable types (default: NULL). For possible values, see glpkConstants, section ‘LP/MIP problem object’.

Details

Interface to the C function setRowsBnds which calls the GLPK function glp_set_row_bnds.

If type is set to NULL, the type of the variables will be estimated. If lb[j] equals ub[j], variable i[j] is fixed, otherwise double bounded.

Value

NULL

Author(s)

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

Maintainer: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.