# \[AMPL 24723\] Generate all subsets of a universal set in AMPL

**URL:** <https://discuss.ampl.com/t/ampl-24723-generate-all-subsets-of-a-universal-set-in-ampl/669>\
**Category:** Google Group Mirror\
**Created:** [August 2, 2023, 6:49pm UTC](https://discuss.ampl.com/t/ampl-24723-generate-all-subsets-of-a-universal-set-in-ampl/669 "2023-08-02T18:49:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AMPL\_Google\_Group](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@AMPL\_Google\_Group](https://discuss.ampl.com/u/AMPL_Google_Group)\
**Post date:** [August 2, 2023, 9:46pm UTC](https://discuss.ampl.com/t/ampl-24723-generate-all-subsets-of-a-universal-set-in-ampl/669/2 "2023-08-02T21:46:17Z")

</div>

See [How can I get AMPL to index over the “power set” consisting of all subsets of a set?](https://discuss.ampl.com/t/how-can-i-get-ampl-to-index-over-the-power-set-consisting-of-all-subsets-of-a-set/61) in our new [AMPL User Forum](https://discuss.ampl.com/).

---

_[View the full topic](https://discuss.ampl.com/t/ampl-24723-generate-all-subsets-of-a-universal-set-in-ampl/669)._
