I want to use inverse normal distribution. In GAMS solver manual, it is mentioned that icdfNormal(x,mean,std) can be used. I added it in the code but it doesn't work. Anybody know what should I do?
GAMS has access to various math libraries. The following code fragment describes access to the normal and inverse normal cumulative distribution functions. The code is described on the GAMS web site--search for "inverse normal distribution".
$ontext
This code makes sure that the random number generators, the probability density
functions, the cumulative distribution functions and the inverse cumulative
distribution functions from stodclib work as expected.
You have to know that if the x is a variable in icdfnormal(x,mean,std) function and not a parameter, your problem will be only solved for DNLP models. It means that you will see the error message of GAMS if your model is not written in DNLP and the x is a variable.