Variable Group

Constructor

VariableGroup(**kwargs)

Creates a group of Variable objects

Methods

VariableGroup.get_name(self)

Returns the name of the variable group

VariableGroup.get_attributes(self)

Returns an ordered dictionary of main attributes

VariableGroup.get_type(self)

Returns the type of variable

VariableGroup.get_members(self)

Returns a dictionary of members

VariableGroup.set_bounds(self[, lb, ub, members])

Specifies or updates bounds for the variable group

VariableGroup.set_init(self, init)

Specifies or updates the initial values

VariableGroup.mult(self, vector)

Quick multiplication method for the variable groups

VariableGroup.sum(self, \*argv)

Quick sum method for the variable groups