throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for glpk. Yet, a method was called that requires this support. Please choose a version of support with glpk support.";
}
virtualvoidpush()override{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for glpk. Yet, a method was called that requires this support. Please choose a version of support with glpk support.";
}
virtualvoidpop()override{
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for glpk. Yet, a method was called that requires this support. Please choose a version of support with glpk support.";
STORM_LOG_ASSERT(false,"Illegal operator in LP solver constraint.");
}
++nextConstraintIndex;
STORM_LOG_THROW(error==0,storm::exceptions::InvalidStateException,"Could not assert constraint ("<<GRBgeterrormsg(env)<<", error code "<<error<<").");
}
@ -385,6 +390,50 @@ namespace storm {
interror=GRBsetintparam(env,"OutputFlag",set);
STORM_LOG_THROW(error==0,storm::exceptions::InvalidStateException,"Unable to set Gurobi Parameter OutputFlag ("<<GRBgeterrormsg(env)<<", error code "<<error<<").");
}
template<typenameValueType>
voidGurobiLpSolver<ValueType>::push(){
IncrementalLevellvl;
lvl.firstConstraintIndex=nextConstraintIndex;
incrementalData.push_back(lvl);
}
template<typenameValueType>
voidGurobiLpSolver<ValueType>::pop(){
if(incrementalData.empty()){
STORM_LOG_ERROR("Tried to pop from a solver without pushing before.");
}else{
// TODO: check if we need to update before deleting
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Gurobi. Yet, a method was called that requires this support. Please choose a version of support with Gurobi support.";
}
template<typenameValueType>
voidGurobiLpSolver<ValueType>::push(){
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Gurobi. Yet, a method was called that requires this support. Please choose a version of support with Gurobi support.";
}
template<typenameValueType>
voidGurobiLpSolver<ValueType>::pop(){
throwstorm::exceptions::NotImplementedException()<<"This version of storm was compiled without support for Gurobi. Yet, a method was called that requires this support. Please choose a version of support with Gurobi 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.";
}
template<typenameValueType>
voidZ3LpSolver<ValueType>::push(){
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 Z3 or the version of Z3 does not support optimization. Yet, a method was called that requires this support.";