You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.1 KiB
62 lines
2.1 KiB
#ifndef STORM_SETTINGS_MODULES_GLPKSETTINGS_H_
|
|
#define STORM_SETTINGS_MODULES_GLPKSETTINGS_H_
|
|
|
|
#include "storm/settings/modules/ModuleSettings.h"
|
|
|
|
namespace storm {
|
|
namespace settings {
|
|
namespace modules {
|
|
|
|
/*!
|
|
* This class represents the settings for glpk.
|
|
*/
|
|
class GlpkSettings : public ModuleSettings {
|
|
public:
|
|
/*!
|
|
* Creates a new set of glpk settings.
|
|
*/
|
|
GlpkSettings();
|
|
|
|
/*!
|
|
* Retrieves whether the output option was set.
|
|
*
|
|
* @return True iff the output option was set.
|
|
*/
|
|
bool isOutputSet() const;
|
|
|
|
/*!
|
|
* Retrieves whether the MILP Presolver should be used.
|
|
*/
|
|
bool isMILPPresolverEnabled() const;
|
|
|
|
/*!
|
|
* Retrieves whether the integer tolerance has been set.
|
|
*
|
|
* @return True iff the integer tolerance has been set.
|
|
*/
|
|
bool isIntegerToleranceSet() const;
|
|
|
|
/*!
|
|
* Retrieves the integer tolerance to be used.
|
|
*
|
|
* @return The integer tolerance to be used.
|
|
*/
|
|
double getIntegerTolerance() const;
|
|
|
|
bool check() const override;
|
|
|
|
// The name of the module.
|
|
static const std::string moduleName;
|
|
|
|
private:
|
|
// Define the string names of the options as constants.
|
|
static const std::string integerToleranceOption;
|
|
static const std::string outputOptionName;
|
|
static const std::string noMilpPresolverOptionName;
|
|
};
|
|
|
|
} // namespace modules
|
|
} // namespace settings
|
|
} // namespace storm
|
|
|
|
#endif /* STORM_SETTINGS_MODULES_GLPKSETTINGS_H_ */
|