Learn R Programming

raptr (version 0.0.3)

GurobiOpts-class: GurobiOpts: An S4 class to represent Gurobi parameters

Description

This class is used to store Gurobi input parameters.

Arguments

Slots

Threads

integer number of cores to use for processing. Defaults to 1L.

MIPGap

numeric MIP gap specifying minimum solution quality. Defaults to 0.1.

Method

integer Algorithm to use for solving model. Defaults to 0L.

Presolve

integer code for level of computation in presolve. Defaults to 2.

TimeLimit

integer number of seconds to allow for solving. Defaults to NA_integer_, and so a time limit is not imposed.

NumberSolutions

integer number of solutions to generate. Defaults to 1L.

MultipleSolutionsMethod

character name of method to obtain multiple solutions NumberSolutions > 1. Available options are 'benders.cuts' and 'solution.pool'. Defaults to 'benders.cuts'. Note that the rgurobi package must be to use the 'solution.pool' method.

See Also

GurobiOpts.