Hi, I’m new to GAMS and stumbled upon a problem that I couldnt fix by
searching google or this groups’ discussions…
I am trying to create a simple model with random numbers for demand of
different products in several periods. For example, for product 1,
GAMS should generate different random numbers based on a uniform
distribution with lower bound = 10, upper bound =50 for each period t.
I thought it might look similar to this:
Sets
i set of products /13/
t set of time periods /110/;
table d(i,t) demand of product i in period t
1*10
1 uniform(10,50)
2 uniform(3, 25)
3 normal(35, 10) ;
…
But I get an error message because GAMS expects real numbers in the
table. How can I resolve this error?
Any help would be very much appreciated.
Peter
\