Custom Types#

pepflow.NUMERICAL_TYPE = numbers.Number | sympy.core.numbers.Number#

Represent a PEP 604 union type

E.g. for int | str

Enums#

class pepflow.PEPType(value)#

An enum to representing either Primal or Dual PEP.

Variables:
  • PRIMAL – Represents Primal PEP.

  • DUAL – Represents Dual PEP.

class pepflow.Comparator(value)#

An enum to representing comparators of relations.

Variables:
  • GE – Greater than or equal.

  • LE – Less than or equal.

  • EQ – Equal to.

  • PEQ – Preceq.

  • SEQ – Succeq.