From 89f1796c56b069a55993ec9d18ab3fb1b628d498 Mon Sep 17 00:00:00 2001 From: TimQu Date: Wed, 2 Aug 2017 13:44:17 +0200 Subject: [PATCH] Fixed creation of LpMinMaxSolver with the generalMinMaxSolverFactory --- src/storm/solver/MinMaxLinearEquationSolver.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/storm/solver/MinMaxLinearEquationSolver.cpp b/src/storm/solver/MinMaxLinearEquationSolver.cpp index 1c6f8dc65..874010c6d 100644 --- a/src/storm/solver/MinMaxLinearEquationSolver.cpp +++ b/src/storm/solver/MinMaxLinearEquationSolver.cpp @@ -5,6 +5,7 @@ #include "storm/solver/LinearEquationSolver.h" #include "storm/solver/IterativeMinMaxLinearEquationSolver.h" #include "storm/solver/TopologicalMinMaxLinearEquationSolver.h" +#include "storm/solver/LpMinMaxLinearEquationSolver.h" #include "storm/settings/SettingsManager.h" #include "storm/settings/modules/MinMaxEquationSolverSettings.h" @@ -195,6 +196,8 @@ namespace storm { result = std::make_unique>(std::forward(matrix), std::make_unique>(), iterativeSolverSettings); } else if (method == MinMaxMethod::Topological) { result = std::make_unique>(std::forward(matrix)); + } else if (method == MinMaxMethod::LinearProgramming) { + result = std::make_unique>(std::forward(matrix), std::make_unique>(), std::make_unique()); } else { STORM_LOG_THROW(false, storm::exceptions::InvalidSettingsException, "Unsupported technique."); }