enums

This module provides standard enum.Enum definitions used in Pyomo, along with additional utilities for working with custom Enums

Utilities:

ExtendedEnumType(cls, bases, classdict, **kwds)

Metaclass for creating an enum.Enum that extends another Enum

NamedIntEnum(value)

An extended version of IntEnum that supports creating members by name as well as value.

Standard Enums:

ObjectiveSense(value)

Flag indicating if an objective is minimizing (1) or maximizing (-1).

Enums

IntEnum(value)

A compatibility wrapper around enum.IntEnum

NamedIntEnum(value)

An extended version of IntEnum that supports creating members by name as well as value.

ObjectiveSense(value)

Flag indicating if an objective is minimizing (1) or maximizing (-1).

Classes

ExtendedEnumType(cls, bases, classdict, **kwds)

Metaclass for creating an enum.Enum that extends another Enum