Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <gurobi_init_arguments.h>
Public Member Functions | |
const NonStreamableGurobiInitArguments * | ToNonStreamableGurobiInitArguments () const override |
Public Member Functions inherited from operations_research::math_opt::NonStreamableSolverInitArgumentsHelper< NonStreamableGurobiInitArguments, SOLVER_TYPE_GUROBI > | |
SolverTypeProto | solver_type () const final |
Returns the type of solver that the implementation is for. | |
std::unique_ptr< const NonStreamableSolverInitArguments > | Clone () const final |
Public Member Functions inherited from operations_research::math_opt::NonStreamableSolverInitArguments | |
virtual | ~NonStreamableSolverInitArguments ()=default |
virtual const NonStreamableCpSatInitArguments * | ToNonStreamableCpSatInitArguments () const |
virtual const NonStreamableGScipInitArguments * | ToNonStreamableGScipInitArguments () const |
virtual const NonStreamableGlopInitArguments * | ToNonStreamableGlopInitArguments () const |
virtual const NonStreamableGlpkInitArguments * | ToNonStreamableGlpkInitArguments () const |
virtual const NonStreamablePdlpInitArguments * | ToNonStreamablePdlpInitArguments () const |
Public Attributes | |
GRBenv * | primary_env = nullptr |
Non-streamable Gurobi specific parameters for solver instantiation.
See NonStreamableSolverInitArguments for details.
Definition at line 93 of file gurobi_init_arguments.h.
|
inlineoverridevirtual |
Returns this for the NonStreamableGurobiInitArguments class, nullptr for other classes.
Reimplemented from operations_research::math_opt::NonStreamableSolverInitArguments.
Definition at line 107 of file gurobi_init_arguments.h.
GRBenv* operations_research::math_opt::NonStreamableGurobiInitArguments::primary_env = nullptr |
Primary environment to use. This is only useful to pass when either the default primary environment created by the solver implementation is not enough or when multiple Gurobi solvers are used with a single-use license. In the latter case, only one primary environment can be created so it must be shared.
The solver does not take ownership of the environment, it is the responsibility of the caller to properly dispose of it after all solvers that used it have been destroyed.
Definition at line 105 of file gurobi_init_arguments.h.