(data from pyomo.common.numeric_types)
pyomo.common.numeric_types
Python set used to identify numeric constants and related native types. This set includes native Python types as well as numeric types from Python packages like numpy.
native_types = native_numeric_types + { str }
native_types
native_numeric_types