How can I get AMPL to index over the “power set” consisting of all subsets of a set?
AMPL can index model components by objects (numbers and character strings) but not by sets of objects. Hence you can’t model a power set directly. You may be able to get the same effect, however, by constructing a numbered list of subsets. As an example, suppose that you want to index over all subsets of the set of the first n nonnegative integers.