control {ROI.plugin.lpsolve}R Documentation

Control Variables

Description

The control variables are all optional, but can in some cases be used to improve the solving time and the solutions.

Arguments

basis

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.

branch.mode

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.

branch.weights

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.

verbose

a character string (for more information see lp.control).

anti.degen

a character vector (for more information see lp.control).

basis.crash

a character string (for more information see lp.control).

bb.depthlimit

a integer giving the maximum branch-and-bound depth (for more information see lp.control).

bb.floorfirst

a character string (for more information see lp.control).

bb.rule

a character vector giving the branch-and-bound rule (for more information see lp.control).

break.at.first

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).

break.at.value

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).

epslevel

a character string giving the type of thresholds (for more information see lp.control).

epsb

a numeric giving the tolerance for the right-hand-side (for more information see lp.control).

epsd

a numeric (for more information see lp.control).

epsel

a numeric (for more information see lp.control).

epsint

a numeric (for more information see lp.control).

epsperturb

a numeric (for more information see lp.control).

epspivot

a numeric (for more information see lp.control).

improve

a character vector (for more information see lp.control).

infinite

a numeric (for more information see lp.control).

maxpivot

a integer (for more information see lp.control).

mip.gap

a numeric vector (for more information see lp.control).

negrange

a numeric (for more information see lp.control).

obj.in.bas

a logical (for more information see lp.control).

pivoting

a character vector (for more information see lp.control).

presolve

a character vector (for more information see lp.control).

scalelimit

a numeric (for more information see lp.control).

scaling

a character vector (for more information see lp.control).

simplextype

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).

timeout

a integer giving the number of seconds till a timeout occurs (for more information see lp.control).


[Package ROI.plugin.lpsolve version 1.0-2 Index]