(function from pyomo.common.config)
pyomo.common.config
Domain validation function admitting integers
This domain will admit integers, as well as any values that are “reasonably exactly” convertible to integers. This is more strict than int, as it will generate errors for floating point values that are not integer.
int