Added indexed set generator code.
Converted to an indexed set for constraint sets.