Description Usage Arguments Methods Author(s) See Also
Initialize Problem Object.
1 2 3 4 5 6 7 8 9 10 11 | ## S4 method for signature 'optObj_clpAPI'
initProb(lp, to = NULL, ...)
## S4 method for signature 'optObj_cplexAPI'
initProb(lp, to = FALSE, ...)
## S4 method for signature 'optObj_glpkAPI'
initProb(lp, to = FALSE, ...)
## S4 method for signature 'optObj_lpSolveAPI'
initProb(lp, to = NULL, nrows, ncols)
|
lp |
An object extending class |
to |
A single boolean, numeric or character value, controling the amount of
terminal output of the solver software. |
nrows |
Number of rows (constraints) of the new problem object. |
ncols |
Number of columns (variables) of the new problem object. |
... |
Further arguments passed to the initialization function of the solver package. |
signature(lp = "optObj_clpAPI")
method to use with package optObj_clpAPI, argument to
can
be a single numeric value: 0
– “none”,
1
– “just final”, 2
– “just factorizations”,
3
– “as 2 plus a bit more”, code4 – “verbose”.
See COIN-OR Clp documentation for more details.
signature(lp = "optObj_cplexAPI")
method to use with package optObj_cplexAPI, argument to
can
be TRUE
or FALSE
. Setting CPLEX parameter
CPX_PARAM_SCRIND
to CPX_ON
or CPX_OFF
has the same
effect.
signature(lp = "optObj_glpkAPI")
method to use with package optObj_glpkAPI, argument to
can
be TRUE
or FALSE
, setting GLPK function
termOutGLPK
to GLP_ON
or GLP_OFF
. The amount of
output is controlled by the GLPK parameter MSG_LEV
.
signature(lp = "optObj_lpSolveAPI")
method to use with package optObj_lpSolveAPI, argument to
can
be a single character value, see lpSolveAPI documentation for more
details (lp.control.options
, section verbose
).
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.