STORM_LOG_THROW(false,storm::exceptions::ExpressionEvaluationException,"Failed to convert Z3 expression. Expression is constant real and value does not fit into a fraction with 64-bit integer numerator and denominator.");
STORM_LOG_THROW(value.getBaseExpression().isRationalLiteralExpression(),storm::exceptions::ExpressionEvaluationException,"Expected a rational literal while obtaining the value of a continuous variable. Got "<<value<<"instead.");
STORM_LOG_THROW(value.getBaseExpression().isIntegerLiteralExpression(),storm::exceptions::ExpressionEvaluationException,"Expected an integer literal while obtaining the value of an integer variable. Got "<<value<<"instead.");
// Binary variables are in fact represented as integer variables!
STORM_LOG_THROW(value.getBaseExpression().isIntegerLiteralExpression(),storm::exceptions::ExpressionEvaluationException,"Expected an integer literal while obtaining the value of a binary variable. Got "<<value<<"instead.");
STORM_LOG_THROW((val==0||val==1),storm::exceptions::ExpressionEvaluationException,"Tried to get a binary value for a variable that is neither 0 nor 1.");
returnval==1;
}
@ -211,7 +221,12 @@ namespace storm {
}
STORM_LOG_ASSERT(lastCheckObjectiveValue,"Objective value has not been stored.");
STORM_LOG_THROW(result.getBaseExpression().isRationalLiteralExpression(),storm::exceptions::ExpressionEvaluationException,"Expected a rational literal while obtaining the objective result. Got "<<result<<"instead.");
STORM_LOG_ASSERT(value.getBaseExpression().isRationalLiteralExpression(),"Expected a rational literal while obtaining the value of a continuous variable. Got "<<value<<"instead.");
STORM_LOG_THROW(result.getBaseExpression().isRationalLiteralExpression(),storm::exceptions::ExpressionEvaluationException,"Expected a rational literal while obtaining the objective result. Got "<<result<<"instead.");
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
Z3LpSolver::Z3LpSolver(std::stringconst&){
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
Z3LpSolver::Z3LpSolver(){
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";}
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";}
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
voidZ3LpSolver::update()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
voidZ3LpSolver::optimize()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
boolZ3LpSolver::isInfeasible()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
boolZ3LpSolver::isUnbounded()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
boolZ3LpSolver::isOptimal()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
}
doubleZ3LpSolver::getObjectiveValue()const{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Z3. Yet, a method was called that requires this support.";
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";
STORM_LOG_THROW(luMatrix.isInvertible(),storm::exceptions::NotImplementedException,"Affine Transformation of native polytope only implemented if the transformation matrix is invertable");