Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::NonStreamableGurobiInitArguments Struct Reference

#include <gurobi_init_arguments.h>

Inheritance diagram for operations_research::math_opt::NonStreamableGurobiInitArguments:
operations_research::math_opt::NonStreamableSolverInitArgumentsHelper< NonStreamableGurobiInitArguments, SOLVER_TYPE_GUROBI > operations_research::math_opt::NonStreamableSolverInitArguments

Public Member Functions

const NonStreamableGurobiInitArgumentsToNonStreamableGurobiInitArguments () 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 NonStreamableSolverInitArgumentsClone () 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

GRBenvprimary_env = nullptr
 

Detailed Description

Non-streamable Gurobi specific parameters for solver instantiation.

See NonStreamableSolverInitArguments for details.

Definition at line 93 of file gurobi_init_arguments.h.

Member Function Documentation

◆ ToNonStreamableGurobiInitArguments()

const NonStreamableGurobiInitArguments * operations_research::math_opt::NonStreamableGurobiInitArguments::ToNonStreamableGurobiInitArguments ( ) const
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.

Member Data Documentation

◆ primary_env

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.


The documentation for this struct was generated from the following file: