Skip to content

ParameterType enum

Bases: IntEnum

An enumeration class representing the types of parameters in an optimization model.

Parameters can be categorized as either FIXED, representing parameters under certainty with a single/fixed value, or BOUNDED, representing parameters under uncertainty with a lower and upper limit.

Source code in pyorlib/enums/parameter_type.py
class ParameterType(IntEnum):
    """
    An enumeration class representing the types of parameters in an optimization model.

    Parameters can be categorized as either FIXED, representing parameters under certainty with a single/fixed
    value, or BOUNDED, representing parameters under uncertainty with a lower and upper limit.
    """

    FIXED = 1
    """ Represents parameters under certainty with a single/fixed value. """

    BOUNDED = 2
    """ Represents parameters under uncertainty with a lower and upper limit. """

Attributes

FIXED class-attribute instance-attribute

FIXED = 1

Represents parameters under certainty with a single/fixed value.

BOUNDED class-attribute instance-attribute

BOUNDED = 2

Represents parameters under uncertainty with a lower and upper limit.