RowEntry

(class from pyomo.repn.plugins.standard_form)

class pyomo.repn.plugins.standard_form.RowEntry(constraint, bound_type)

Bases: tuple

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

bound_type

Alias for field number 1

constraint

Alias for field number 0

Member Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

bound_type

Alias for field number 1

constraint

Alias for field number 0