(class from pyomo.common.config)
pyomo.common.config
Bases: object
object
Domain validator for lists of a specified type
itemtype (type) – The type for each element in the list
domain (Callable) – A domain validator (callable that takes the incoming value, validates it, and returns the appropriate domain type) for each element in the list. If not specified, defaults to the itemtype.
string_lexer (Callable) – A preprocessor (lexer) called for all string values. If NOTSET, then strings are split on whitespace and/or commas (honoring simple use of single or double quotes). If None, then no tokenization is performed.
Methods
__init__(itemtype[, domain, string_lexer])
__init__
domain_name()
domain_name
Member Documentation