Storm
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
50
56 uint64_t getMIPFocus() const;
57
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
This class represents the settings for Gurobi.
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.
This is the base class of the settings for a particular module.
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18