Description Usage Arguments Details Value Methods Author(s) See Also Examples
The function checkOptSol
evaluates the results of the solution
of optimizations; the returned objects e.g. from optimizeProb
.
1 2 | ## S4 method for signature 'optsol'
checkOptSol(opt, onlywarn = FALSE)
|
opt |
An object of class |
onlywarn |
A single Boolean value. If set to |
The function checkOptSol
is used by functions performing a
linear optimization (e.g. optimizeProb
). In that case, the
argument onlywarn
is set to TRUE. If the optimization ends
unsuccesfull, a warning will be produced.
It is also possible to use the function directly, with onlywarn
set to FALSE (the default). In that case, an object of class
checksol
will be retuned. This object contains a summary
with the exit status of the optimization.
TRUE or FALSE if onlywarn
is set to TRUE, otherwise an object of class
checksol
.
signature(opt = "optsol")
method to use with objects of class optsol
.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
checksol
,
optimizeProb
and oneGeneDel
1 2 3 | data(Ec_core)
Ec_f <- optimizeProb(Ec_core, retOptSol = TRUE)
Ec_check <- checkOptSol(Ec_f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.