Dear All,
I am trying to write a simple code for demand which has a exponential distribution function. I define all the sets, parameter. When I write the constraint,
CONSTRAINT
Z(i,j)=exp(-lambda(i,j)*T) … here how can I write this constraint or is this right way to write it. Since I have two time period and writing T in the equation does not look write. Could you please let me know if there is a better way to write this constraint?
Thank you.
Sets
P /P1*P2/
T periods in the planning horizon / t1*t2/
Alies(i,j)
PARAMETERS
Lambda (i,j) for product i at time period t
Z(i,j) demand for product i at each period j
Data
TABLE
Lambda(P,T,*) for different time period for each product
Lambda (i,j)
P1 .t1 0.008
P2 .t1 0.008
P1 .t2 0.01
P2 .t2 0.01
;
\
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.