glm interface when
method is detect_separation.Typically only used internally by detect_separation
but may be used to construct a control argument.
detect_separation_control(
implementation = c("ROI", "lpSolveAPI"),
solver = "lpsolve",
linear_program = c("primal", "dual"),
purpose = c("find", "test"),
tolerance = 1e-04,
solver_control = list()
)detectSeparationControl(
implementation = c("ROI", "lpSolveAPI"),
solver = "lpsolve",
linear_program = c("primal", "dual"),
purpose = c("find", "test"),
tolerance = 1e-04,
solver_control = list()
)
should the implementation using ROI or
the implementation using lpSolveAPI be used? Default is
ROI.
should the linear program be solved using the
"lpsolve" (using the ROI.plugin.lpsolve package;
default) or another solver? Alternative solvers are
"glpk", "cbc", "clp", "cplex",
"ecos", "gurobi", "scs",
"symphony". If ROI.plugin.[solver] is not
installed then the user will be prompted to install it before
continuing.
should detect_separation solve
the "primal" (default) or "dual" linear program
for separation detection? Only relevant if implementation
= "lpSolveAPI".
should detect_separation simply
"test" for separation or also "find" (default)
which parameters are infinite? Only relevant if
implementation = "lpSolveAPI".
maximum absolute variable value from the linear
program, before separation is declared. Default is
1e-04.
a list with additional control parameters for
the "solver". This is solver specific, so consult the
corresponding documentation. Default is list() unless
solver is "alabama" when the default is list(start
= rep(0, p)), where p is the number of parameters.
A list with the supplied linear_program, solver,
solver_control, purpose, tolerance,
implementation, and the matched separator function
(according to the value of implementation).