| GurobiOpts-class {raptr} | R Documentation |
GurobiOpts: An S4 class to represent Gurobi parameters
Description
This class is used to store Gurobi input parameters.
Slots
Threadsintegernumber of cores to use for processing. Defaults to 1L.MIPGapnumericMIP gap specifying minimum solution quality. Defaults to 0.1.MethodintegerAlgorithm to use for solving model. Defaults to 0L.Presolveintegercode for level of computation in presolve. Defaults to 2.TimeLimitintegernumber of seconds to allow for solving. Defaults to NA_integer_, and so a time limit is not imposed.NumberSolutionsintegernumber of solutions to generate. Defaults to 1L.MultipleSolutionsMethodintegername of method to obtain multiple solutions (used whenNumberSolutionsis 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 tonumber_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".NumericFocusintegerhow much effort should Gurobi focus on addressing numerical issues? Defaults to0Lsuch that minimal effort is spent to reduce run time.