hello,

I would like to ask how to model a random variable with discrete probabilities in gams?

I used emp before to model the chance constraint but I would like to ask if there is any other ways to model it without emp?

thank you,

ANAN

## random variable in gams

### Re: random variable in gams

Maybe not the most optimum method to generate random variables in GAMS, but you can find an example in the attached file.

Sincerely

### Re: random variable in gams

thank you for your help

I was trying to use chance constraint with one random variable but the equation is indexed on time there is a problem in chance constraint equation can you help me?

I was trying to use chance constraint with one random variable but the equation is indexed on time there is a problem in chance constraint equation can you help me?

### Re: random variable in gams

Dear A.Sen ,

thank you for the attached example I would like to ask you if possible can you help me to generate random variable with Beta distribution?

thank you.

thank you for the attached example I would like to ask you if possible can you help me to generate random variable with Beta distribution?

thank you.