Browse Source

enabled preconditioning for value iteration in gmm++-based MinMax equation solver

Former-commit-id: 39c4efdb52
tempestpy_adaptions
dehnert 9 years ago
parent
commit
9bac056354
  1. 2
      src/solver/GmmxxMinMaxLinearEquationSolver.cpp

2
src/solver/GmmxxMinMaxLinearEquationSolver.cpp

@ -124,7 +124,7 @@ namespace storm {
storm::storage::SparseMatrix<ValueType> submatrix = this->A.selectRowsFromRowGroups(this->policy, true); storm::storage::SparseMatrix<ValueType> submatrix = this->A.selectRowsFromRowGroups(this->policy, true);
submatrix.convertToEquationSystem(); submatrix.convertToEquationSystem();
GmmxxLinearEquationSolver<ValueType> gmmLinearEquationSolver(submatrix, storm::solver::GmmxxLinearEquationSolver<double>::SolutionMethod::Gmres, this->precision, this->maximalNumberOfIterations, storm::solver::GmmxxLinearEquationSolver<double>::Preconditioner::None, this->relative, 50);
GmmxxLinearEquationSolver<ValueType> gmmLinearEquationSolver(submatrix, storm::solver::GmmxxLinearEquationSolver<double>::SolutionMethod::Gmres, this->precision, this->maximalNumberOfIterations, storm::solver::GmmxxLinearEquationSolver<double>::Preconditioner::Ilu, this->relative, 50);
storm::utility::vector::selectVectorValues<ValueType>(subB, this->policy, rowGroupIndices, b); storm::utility::vector::selectVectorValues<ValueType>(subB, this->policy, rowGroupIndices, b);
// Copy X since we will overwrite it // Copy X since we will overwrite it

Loading…
Cancel
Save