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


TSSP documentation built on May 2, 2019, 4:56 p.m.

Related to addCon in TSSP...