Retrieve constraint values from an lpSolve linear program model object.
get.constr.value(lprec, side = c("rhs", "lhs"), constraints = 1:m)a numeric vector containing the constraint values.
an lpSolve linear program model object.
either "rhs" (right-hand-side) or "lhs" (left-hand-side) - which constraint values to retrieve.
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.
Kjell Konis kjell.konis@me.com