16const std::string GlpkSettings::integerToleranceOption =
"inttol";
17const std::string GlpkSettings::outputOptionName =
"output";
18const std::string GlpkSettings::noMilpPresolverOptionName =
"nomilppresolver";
54 "glpk is not selected as the preferred LP solver, so setting options for glpk might have no effect.");
virtual double getValueAsDouble() const =0
Retrieves the value of this argument as a double.
static ArgumentBuilder createDoubleArgument(std::string const &name, std::string const &description)
Creates a double argument with the given parameters.
static std::shared_ptr< ArgumentValidator< double > > createDoubleRangeValidatorExcluding(double lowerBound, double upperBound)
This class provides the interface to create an option...
ArgumentBase const & getArgumentByName(std::string const &argumentName) const
Returns a reference to the argument with the specified long name.
bool getHasOptionBeenSet() const
Retrieves whether the option has been set.
GlpkSettings()
Creates a new set of glpk settings.
bool isIntegerToleranceSet() const
Retrieves whether the integer tolerance has been set.
bool isOutputSet() const
Retrieves whether the output option was set.
bool isMILPPresolverEnabled() const
Retrieves whether the MILP Presolver should be used.
bool check() const override
Checks whether the settings are consistent.
static const std::string moduleName
double getIntegerTolerance() const
Retrieves the integer tolerance to be used.
This is the base class of the settings for a particular module.
void addOption(std::shared_ptr< Option > const &option)
Adds and registers the given option.
Option & getOption(std::string const &longName)
Retrieves the option with the given long name.
#define STORM_LOG_WARN_COND(cond, message)
SettingsType const & getModule()
Get module.