Additional arguments to the addVar-method pertinent to the
defined S4-classes in this package are detailed below.
## S4 method for signature 'CLPD'
addVar(object, add2obj, newAcol, varNames = NULL, newBound = NULL, rhs = NULL)
CLPD: an object of class "CLPD", ordinarily returned by a call to LPD().
vector: The coefficients to be added to the objective function.
matrix: The columns to be added to the constraint matrix A.
NULL or vector: The character vector of variable names; if left NULL and add2obj has no names, then generic names will be created.
NULL or list: If left NULL, the default bounds in Rglpk will be used, otherwise a list-object as expected in Rglpk_solve_LP().
NULL or vector: The changed values for the rhs-constraints, if applicable.
"CLPD": The LP definition with the newly included variables.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@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.