MaingoVar

(class from pyomo.contrib.appsi.solvers.maingo)

class pyomo.contrib.appsi.solvers.maingo.MaingoVar(type, name, lb, ub, init)

Bases: tuple

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

init

Alias for field number 4

lb

Alias for field number 2

name

Alias for field number 1

type

Alias for field number 0

ub

Alias for field number 3

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.

init

Alias for field number 4

lb

Alias for field number 2

name

Alias for field number 1

type

Alias for field number 0

ub

Alias for field number 3