TimQu
6 years ago
7 changed files with 39 additions and 3 deletions
-
8src/storm/modelchecker/csl/helper/SparseMarkovAutomatonCslHelper.cpp
-
8src/storm/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp
-
4src/storm/settings/modules/CoreSettings.cpp
-
7src/storm/settings/modules/CoreSettings.h
-
4src/storm/settings/modules/MinMaxEquationSolverSettings.cpp
-
5src/storm/settings/modules/MinMaxEquationSolverSettings.h
-
6src/storm/utility/solver.cpp
@ -15,6 +15,7 @@ |
||||||||||||||||||
#include "storm/solver/MathsatSmtSolver.h"
|
||||||||||||||||||
#include "storm/settings/SettingsManager.h"
|
||||||||||||||||||
#include "storm/settings/modules/CoreSettings.h"
|
||||||||||||||||||
#include "storm/utility/NumberTraits.h"
|
||||||||||||||||||
|
||||||||||||||||||
#include "storm/exceptions/InvalidSettingsException.h"
|
||||||||||||||||||
|
||||||||||||||||||
@ -25,8 +26,11 @@ namespace storm { |
||||||||||||||||||
template<typename ValueType> |
||||||||||||||||||
std::unique_ptr<storm::solver::LpSolver<ValueType>> LpSolverFactory<ValueType>::create(std::string const& name, storm::solver::LpSolverTypeSelection solvT) const { |
||||||||||||||||||
storm::solver::LpSolverType t; |
||||||||||||||||||
if(solvT == storm::solver::LpSolverTypeSelection::FROMSETTINGS) { |
||||||||||||||||||
if (solvT == storm::solver::LpSolverTypeSelection::FROMSETTINGS) { |
||||||||||||||||||
t = storm::settings::getModule<storm::settings::modules::CoreSettings>().getLpSolver(); |
||||||||||||||||||
if (storm::NumberTraits<ValueType>::IsExact && t != storm::solver::LpSolverType::Z3 && storm::settings::getModule<storm::settings::modules::CoreSettings>().isLpSolverSetFromDefaultValue()) { |
||||||||||||||||||
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.
|