| GurobiOpts-class | R Documentation |
This class is used to store Gurobi input parameters.
Threadsinteger number of cores to use for processing. Defaults
to 1L.
MIPGapnumeric MIP gap specifying minimum solution quality.
Defaults to 0.1.
Methodinteger Algorithm to use for solving model. Defaults to
0L.
Presolveinteger code for level of computation in presolve.
Defaults to 2.
TimeLimitinteger number of seconds to allow for solving.
Defaults to NA_integer_, and so a time limit is not imposed.
NumberSolutionsinteger number of solutions to generate.
Defaults to 1L.
MultipleSolutionsMethodinteger name of method to obtain
multiple solutions (used when NumberSolutions is greater than one).
Available options are "benders.cuts", "solution.pool.0",
"solution.pool.1", and "solution.pool.2". The
"benders.cuts" method produces a set of distinct solutions that
are all within the optimality gap. The "solution.pool.0"
method returns all solutions identified whilst trying to find
a solution that is within the specified optimality gap. The
"solution.pool.1" method finds one solution within the optimality
gap and a number of additional solutions that are of any level of quality
(such that the total number of solutions is equal to
number_solutions). The "solution.pool.2" finds a
specified number of solutions that are nearest to optimality. The
search pool methods correspond to the parameters used by the Gurobi
software suite (see https://www.gurobi.com/documentation/8.0/refman/poolsearchmode.html#parameter:PoolSearchMode).
Defaults to "benders.cuts".
NumericFocusinteger how much effort should Gurobi focus on
addressing numerical issues? Defaults to 0L such that minimal effort
is spent to reduce run time.
GurobiOpts().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.