@ -482,6 +482,8 @@ namespace storm {
// Check solver requirements.
// Check solver requirements.
storm : : solver : : GeneralLinearEquationSolverFactory < ValueType > linearEquationSolverFactory ;
storm : : solver : : GeneralLinearEquationSolverFactory < ValueType > linearEquationSolverFactory ;
auto requirements = linearEquationSolverFactory . getRequirements ( env ) ;
auto requirements = linearEquationSolverFactory . getRequirements ( env ) ;
requirements . clearLowerBounds ( ) ;
requirements . clearUpperBounds ( ) ;
STORM_LOG_THROW ( ! requirements . hasEnabledCriticalRequirement ( ) , storm : : exceptions : : UncheckedRequirementException , " Solver requirements " + requirements . getEnabledRequirementsAsString ( ) + " not checked. " ) ;
STORM_LOG_THROW ( ! requirements . hasEnabledCriticalRequirement ( ) , storm : : exceptions : : UncheckedRequirementException , " Solver requirements " + requirements . getEnabledRequirementsAsString ( ) + " not checked. " ) ;
bool fixedPointSystem = false ;
bool fixedPointSystem = false ;
@ -541,6 +543,8 @@ namespace storm {
bsccEquationSystem = builder . build ( ) ;
bsccEquationSystem = builder . build ( ) ;
{
{
std : : unique_ptr < storm : : solver : : LinearEquationSolver < ValueType > > solver = linearEquationSolverFactory . create ( env , std : : move ( bsccEquationSystem ) ) ;
std : : unique_ptr < storm : : solver : : LinearEquationSolver < ValueType > > solver = linearEquationSolverFactory . create ( env , std : : move ( bsccEquationSystem ) ) ;
solver - > setLowerBound ( storm : : utility : : zero < ValueType > ( ) ) ;
solver - > setUpperBound ( storm : : utility : : one < ValueType > ( ) ) ;
solver - > solveEquations ( env , bsccEquationSystemSolution , bsccEquationSystemRightSide ) ;
solver - > solveEquations ( env , bsccEquationSystemSolution , bsccEquationSystemRightSide ) ;
}
}