1
$\begingroup$

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.

$\endgroup$
2
  • 1
    $\begingroup$ 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. $\endgroup$ Dec 21, 2021 at 4:43
  • $\begingroup$ @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 $\endgroup$
    – adg
    Dec 21, 2021 at 17:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.