Description Usage Arguments Methods Author(s) See Also
Change a row in the constraint matrix of the optimization problem.
1 2 3 4 5 6 7 8 | ## S4 method for signature 'optObj_cplexAPI'
changeMatrixRow(lp, i, j, val)
## S4 method for signature 'optObj_glpkAPI'
changeMatrixRow(lp, i, j, val)
## S4 method for signature 'optObj_lpSolveAPI'
changeMatrixRow(lp, i, j, val)
|
lp |
An object extending class |
i |
A single numeric value giving the row index of the constraint matrix to change. |
j |
A numeric vector containing the column indices of the new non-zero elements. |
val |
A numeric vector of the same length as |
signature(lp = "optObj_cplexAPI")
method to use with package optObj_cplexAPI. Only the columns given
in argument j
will be changed. All other columns stay the same.
signature(lp = "optObj_glpkAPI")
method to use with package optObj_glpkAPI. The row given in argument
i
will be reset completely.
signature(lp = "optObj_lpSolveAPI")
method to use with package optObj_lpSolveAPI. The row given in
argument i
will be reset completely.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Superclass optObj
and constructor function
optObj
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.