Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GurobiSettings.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace storm {
6namespace solver {
7enum class GurobiSolverMethod;
8}
9
10namespace settings {
11namespace modules {
12
17 public:
22
28 bool isIntegerToleranceSet() const;
29
35 double getIntegerTolerance() const;
36
42 bool isNumberOfThreadsSet() const;
43
49 uint64_t getNumberOfThreads() const;
50
56 uint64_t getMIPFocus() const;
57
63 uint64_t getNumberOfConcurrentMipThreads() const;
64
71
77 bool isOutputSet() const;
78
79 bool check() const override;
80
81 // The name of the module.
82 static const std::string moduleName;
83};
84
85} // namespace modules
86} // namespace settings
87} // namespace storm
solver::GurobiSolverMethod getMethod() const
Retrieves the solver method.
bool isOutputSet() const
Retrieves whether the output option was set.
uint64_t getNumberOfThreads() const
Retrieves the maximal number of threads Gurobi is allowed to use.
bool check() const override
Checks whether the settings are consistent.
GurobiSettings()
Creates a new set of Gurobi settings.
bool isNumberOfThreadsSet() const
Retrieves whether the number of threads has been set.
uint64_t getNumberOfConcurrentMipThreads() const
Retrieves the number of MIP solvers, Gurobi spawns in parallel.
uint64_t getMIPFocus() const
Retrieves the selected high-level solution strategy for MILPs.
double getIntegerTolerance() const
Retrieves the integer tolerance to be used.
bool isIntegerToleranceSet() const
Retrieves whether the integer tolerance has been set.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.