Set constraint values in an lpSolve linear program model object.
set.constr.value(lprec, rhs = NULL, lhs = NULL, constraints = 1:m)
a NULL
value is invisibly returned.
an lpSolve linear program model object.
a numeric vector the same length as constraints
containing the right-hand-side values to be set. If NULL
no right-hand-side values are set.
a numeric vector the same length as constraints
containing the left-hand-side values to be set. If NULL
no left-hand-side values are set.
a numeric vector of unique values from the set {1, ..., m} (where m is the number of constraints in lprec
) specifying which constraints to set.
Kjell Konis kjell.konis@me.com
resize.lp