CountedCallGenerator

(class from pyomo.core.base.initializer)

class pyomo.core.base.initializer.CountedCallGenerator(ctype, fcn, scalar, parent, idx, start_at)[source]

Bases: object

Generator implementing the “counted call” initialization scheme

This generator implements the older “counted call” scheme, where the first argument past the parent block is a monotonically-increasing integer beginning at start_at.

__init__(ctype, fcn, scalar, parent, idx, start_at)[source]

Methods

__init__(ctype, fcn, scalar, parent, idx, ...)

next()

Member Documentation