Hei! Thank you for your time and help!
I just made a small NLP and the optimization went just fine.
But next I need to add a random number (for example A(k) = normal(1,1/6)) inside one equation (just to add a bit randomness inside the model) and run the whole model for many times and calculate the average of the results. For every iteration the results should be slightly different.
I am quite new and inside the “solve” within a loop, I can not easily define Equations.
I would really appreciate your hints!
Thank you
–
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.
Section 9.4 in GAMS users’ guide may be helpful
On Thu, Aug 6, 2015 at 9:49 AM, Yuanming Ni wrote:
Hei! Thank you for your time and help!
I just made a small NLP and the optimization went just fine.
But next I need to add a random number (for example A(k) = normal(1,1/6)) inside one equation (just to add a bit randomness inside the model) and run the whole model for many times and calculate the average of the results. For every iteration the results should be slightly different.
I am quite new and inside the “solve” within a loop, I can not easily define Equations.
I would really appreciate your hints!
Thank you
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.