1

I'm trying to solve a problem very similar to this one, where I'm trying to find an optimal order. How would I actually plug this into GAMS?

It gives out a single value rather than an ordering. I could maybe have variables for each booth that correspond to their order, but I'm not sure how to prevent GAMS from selecting a booth twice.

adg
  • 11
  • 1
  • 1
    This is not about ordering a set, that is the wrong metaphor, but rather visiting booths in a certain sequence. This is a little bit like a TSP: there we visit cities in an optimal sequence. – Erwin Kalvelagen Dec 21 '21 at 04:43
  • @ErwinKalvelagen - right, but I'm unclear about how to actually go about getting the order from the model. I understand in theory what TSP is, I just don't understand how it goes into GAMS – adg Dec 21 '21 at 17:43

0 Answers0