See How can I get AMPL to index over the “power set” consisting of all subsets of a set? in our Frequently Asked Questions. In the answer to this question, the TSP subtour elimination constraints are given as an example.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [AMPL 25030] Formulation VRP code | 3 | 287 | April 29, 2024 | |
| [AMPL 24472] subtour elimination constraints | 6 | 770 | January 29, 2023 | |
| [AMPL 24723] Generate all subsets of a universal set in AMPL | 1 | 478 | August 2, 2023 | |
| How can I get AMPL to index over the “power set” consisting of all subsets of a set? | 0 | 742 | December 15, 2021 | |
| [AMPL 24951] Question | 7 | 197 | February 24, 2024 |