The control variables are all optional, but can in some cases be used to improve the solving time and the solutions.
an optional named list used to set the initial basis of the LP,
e.g.,
R> control <- list(basis=list(basis = c(1, 2, 3),
+ nonbasic = TRUE, default = TRUE)).
The elements of basis are passed to the lpSolveAPI function
set.basis as arguments.
basis a numeric vector giving the indices of the basis.
nonbasic an optional logical, if TRUE the nonbasic
variables included in the basis as well.
default an optional logical, if TRUE the
default basis is used and the arguments basis and
nonbasic are ignored.
an optional list used to set the branch and bound mode,
e.g.,
R> control <- list(branch.mode=list(columns=c(1, 2, 3),
+ modes=c("ceiling", "auto", "floor"))
The elements of branch.mode are passed to lpSolveAPI function
set.branch.mode as arguments.
columns a vector of integer giving the column indices for
which the mode is set.
modes a character vector giving the modes of the columns
specified in columns.
an optional numeric vector giving the weights for the decision variables.
The length of the branch.weights must be equal to length of the
objective function.
a character string (for more information see lp.control).
a character vector (for more information see lp.control).
a character string (for more information see lp.control).
a integer giving the maximum branch-and-bound depth (for more information see lp.control).
a character string (for more information see lp.control).
a character vector giving the branch-and-bound rule (for more information see lp.control).
a logical controlling whether the branch-and-bound algorithm should be
stopped at the first solution or the branch-and-bound algorithm continuous
until an optimal solution is found
(for more information see lp.control).
a numeric, if given the branch-and-bound algorithm stops
when the objective function becomes smaller than the specified value.
(for more information see lp.control).
a character string giving the type of thresholds
(for more information see lp.control).
a numeric giving the tolerance for the right-hand-side
(for more information see lp.control).
a numeric
(for more information see lp.control).
a numeric
(for more information see lp.control).
a numeric
(for more information see lp.control).
a numeric
(for more information see lp.control).
a numeric
(for more information see lp.control).
a character vector
(for more information see lp.control).
a numeric
(for more information see lp.control).
a integer
(for more information see lp.control).
a numeric vector
(for more information see lp.control).
a numeric
(for more information see lp.control).
a logical
(for more information see lp.control).
a character vector
(for more information see lp.control).
a character vector
(for more information see lp.control).
a numeric
(for more information see lp.control).
a character vector
(for more information see lp.control).
a character vector which an take one of the following values
c("primal"), c("dual"), c("primal", "dual") or
c("dual", "primal")
(for more information see lp.control).
a integer giving the number of seconds till a timeout occurs
(for more information see lp.control).