optObj
optObj
.optObj(solver = SYBIL_SETTINGS("SOLVER"),
method = SYBIL_SETTINGS("METHOD"),
pType = "lp", prefix = "optObj", sep = "_")
SYBIL_SETTINGS
for possible values.
Default: SYBIL_SETTINGS("SOLVER")
.solver
. See SYBIL_SETTINGS
for possible values.
If missing or not available, the default method for sol
"lp"
: linear programming, "mip"
: mixed integer programming
or "qp"
: quadratic programming.
Default: "lp"
."optObj"
.prefix
and
solver
.
Default: "_"
.optObj
.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 arguemts prefix
and solver
are
stick together separated by sep
(default: a single underscore
"_"
): prefix_solver
.optObj
, SYBIL_SETTINGS
and checkDefaultMethod
.