addCon: Method for adding constraints to a linear program

Description Usage Arguments Value Author(s)

Description

Additional arguments to the addCon-method pertinent to the defined S4-classes in this package are detailed below.

Usage

1
2
## S4 method for signature 'CLPD'
addCon(object, A, dir, rhs)  

Arguments

object

CLPD: an object of class "CLPD", ordinarily returned by a call to LPD().

A

matrix: The row(s) to be added to the constraint matrix.

dir

vector: The character vector of the relational operators '<=', '==', '>='.

rhs

vector: The corresponding rhs-values. The length of this vector must be identical to the row dimension of A.

Value

"CLPD": The LP definition with the newly included constraints.

Author(s)

Bernhard Pfaff



Search within the TSSP 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.