(function from pyomo.core.util)
pyomo.core.util
Return a generator that containing an arithmetic progression of integers.
sequence(i, j) returns [i, i+1, i+2, ..., j]; start defaults to 1. step specifies the increment (or decrement)
sequence(i, j) returns [i, i+1, i+2, ..., j];
sequence(i, j)
[i, i+1, i+2, ..., j]
start defaults to 1.
step specifies the increment (or decrement)
For example, sequence(4) returns [1, 2, 3, 4].
sequence(4)
[1, 2, 3, 4]