get.bounds: Get Bounds

Description Usage Arguments Value Author(s) References Examples

Description

Retrieve the bounds on the decision variables from an lpSolve linear program model object.

Usage

1
get.bounds(lprec, columns = 1:n)

Arguments

lprec

an lpSolve linear program model object.

columns

a numeric vector of unique values from the set {1, ..., n} (where n is the number of decision variables in lprec) specifying the decision variables for which the bounds should be retrieved.

Value

a list with components lower and upper.

Author(s)

Kjell Konis kjell.konis@me.com

References

http://lpsolve.sourceforge.net/5.5/index.htm

Examples

1
2
lps.model <- make.lp(3, 3)
get.bounds(lps.model)


Search within the lpSolveAPI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.