R: Get Constraint Value

get.constr.value {lpSolveAPI} | R Documentation

## Get Constraint Value

### Description

Retrieve constraint values from an lpSolve linear program model object.

### Usage

    get.constr.value(lprec, side = c("rhs", "lhs"), constraints = 1:m)

### Arguments

`lprec` | an lpSolve linear program model object.
`side` | either `"rhs"` (right-hand-side) or `"lhs"` (left-hand-side) - which constraint values to retrieve.
`constraints` | a numeric vector of unique values from the set `{1, ..., m}` (where `m` is the number of constraints in `lprec`) specifying the constraints for which the values will be retrieved.

### Value

a numeric vector containing the constraint values.

### Author(s)

Kjell Konis kjell.konis@me.com

### References

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

[Package lpSolveAPI version 5.5.2.0-17 Index]