Search found 2 matches

by Witsie
4 years ago
Forum: Modeling
Topic: Setting Specific Variable Values
Replies: 2
Views: 3386

Re: Setting Specific Variable Values

Thank you so much. It worked
by Witsie
4 years ago
Forum: Modeling
Topic: Setting Specific Variable Values
Replies: 2
Views: 3386

Setting Specific Variable Values

Hi all,

Is it possible to force GAMS to choose the value for a variable from a specific set of options in an MINLP? For instance, the length of a pipe can only be 2, 5, 16 or 25 metres, how would I define the variable such that GAMS can only choose from amongst these options?

Best,

Pemberai