diff --git a/src/storm/solver/LpMinMaxLinearEquationSolver.cpp b/src/storm/solver/LpMinMaxLinearEquationSolver.cpp index 286be37ab..bb3ae4887 100644 --- a/src/storm/solver/LpMinMaxLinearEquationSolver.cpp +++ b/src/storm/solver/LpMinMaxLinearEquationSolver.cpp @@ -23,7 +23,7 @@ namespace storm { bool LpMinMaxLinearEquationSolver::solveEquations(OptimizationDirection dir, std::vector& x, std::vector const& b) const { // Set up the LP solver - std::unique_ptr solver = lpSolverFactory->create("MinMaxLinearEquationSolver"); + std::unique_ptr solver = lpSolverFactory->create(""); solver->setOptimizationDirection(invert(dir)); // Create a variable for each row group @@ -58,7 +58,7 @@ namespace storm { } else { rowConstraint = variables[rowGroup].getExpression() >= rowConstraint; } - solver->addConstraint("row" + std::to_string(row), rowConstraint); + solver->addConstraint("", rowConstraint); } }