Bases: IntEnum
An enumeration class representing the types of terms in the context of an optimization model.
The TermType class provides a set of predefined types that categorize terms according to their behavior.
Source code in pyorlib/enums/term_type.py
| class TermType(IntEnum):
"""
An enumeration class representing the types of terms in the context of an optimization model.
The TermType class provides a set of predefined types that categorize terms according to their behavior.
"""
CONSTANT = 1
""" Represents a constant term. """
VARIABLE = 2
""" Represents a variable term. """
|
Attributes
CONSTANT
class-attribute
instance-attribute
Represents a constant term.
VARIABLE
class-attribute
instance-attribute
Represents a variable term.