set.constr.value: Set Constraint Value

Description Usage Arguments Value Author(s) References See Also

View source: R/set.constr.value.q

Description

Set constraint values in an lpSolve linear program model object.

Usage

1
set.constr.value(lprec, rhs = NULL, lhs = NULL, constraints = 1:m)

Arguments

lprec

an lpSolve linear program model object.

rhs

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.

lhs

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.

constraints

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.

Value

a NULL value is invisibly returned.

Author(s)

Kjell Konis [email protected]

References

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

See Also

resize.lp


lpSolveAPI documentation built on May 30, 2017, 7:12 a.m.