Description Usage Arguments Details Value Author(s) See Also
This function serves as a user constructor function for objects of class
optObj
.
1 2 3 | optObj(solver = SYBIL_SETTINGS("SOLVER"),
method = SYBIL_SETTINGS("METHOD"),
pType = "lp", prefix = "optObj", sep = "_")
|
solver |
A single character string giving the name of the solver package to use.
See |
method |
A single character string containing the name of the method used by
|
pType |
A single character string containing the type of optimization problem. Can
be |
prefix |
A single character string containing a prefix for the new class name. |
sep |
A single character string containing a separator for |
If argument solver
is set to "foo"
and prefix
is set
to "optObj"
(default), optObj
will try to build an instance of
class optObj_foo
. If solver
does not contain a valid name of a
solver package (this is checked by checkDefaultMethod
), the
default solver package will be used (see SYBIL_SETTINGS
).
For the name of the class, the arguments prefix
and solver
are
stick together separated by sep
(default: a single underscore
"_"
): prefix_solver
.
An instance of a subclass of class optObj
.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Class optObj
, SYBIL_SETTINGS
and checkDefaultMethod
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.