various values

i was wondering how can a decision variable like X get its value from a set like {1,2,3,4,5}

i know its kind of basic but i am new to gams so…

any kind of help is much appreciated

Hi

Just use an upper bound for your integer variable.

integer variable
myboundedinteger;

myboundedinteger.UP = 5;

CHeers
Renger