Hello
Thank you very much , I followed your instruction and now it is ok. There is no error ı could obtain results.
Best regards
Search found 6 matches
- 3 years ago
- Forum: Tools
- Topic: Solving stochastic gams model multiple times in gams
- Replies: 4
- Views: 8344
- 3 years ago
- Forum: Tools
- Topic: Solving stochastic gams model multiple times in gams
- Replies: 4
- Views: 8344
Re: Solving stochastic gams model multiple times in gams
Hello, I try to apply your method to obtain loop but gams gives an error massage that is "declaration can not be allowed in loop as I understund from massage I connot put random value generation inside the loop could you please help me about this case , ı add my code below; execseed= 1+gmillise...
- 3 years ago
- Forum: Tools
- Topic: Solving stochastic gams model multiple times in gams
- Replies: 4
- Views: 8344
Solving stochastic gams model multiple times in gams
I create a gams code including randomly generated scenarios ; I want to trigger my gams code to solve, for example 100 times to obtain different solutions for eweryrun (When i click run button , in each time , i can obtain different solution since it includes random generator for scenarios) but ı co...
- 3 years ago
- Forum: Tools
- Topic: Multiple run of Stochastic programming emp extension
- Replies: 4
- Views: 5087
Re: Multiple run of Stochastic programming emp extension
this is my code at the attached file to understand my mistake clearly
- 3 years ago
- Forum: Tools
- Topic: Multiple run of Stochastic programming emp extension
- Replies: 4
- Views: 5087
Re: Multiple run of Stochastic programming emp extension
Thank you for your help. Could you please help me to understand where ı should add your suggestion in my code "d" is random var demand file emp / '%emp.info%' /; put emp '* problem %gams.i%'/; $onput randvar d poisson 10 stage 2 In Ls d stage 2 cons2 $offput putclose emp; Set scen Scenario...
- 3 years ago
- Forum: Tools
- Topic: Multiple run of Stochastic programming emp extension
- Replies: 4
- Views: 5087
Multiple run of Stochastic programming emp extension
I try to solve a two stage stochastic programming and ı adjust demand randvar as poisson distribution with 100 scenario to obtain 100 random demand values according to poisson distribution. but I want to do 100 run to apply sample avarage approximation method (SAA) to this problem. I wrote "whi...