Search found 6 matches

by karacat
3 years ago
Forum: Tools
Topic: Solving stochastic gams model multiple times in gams
Replies: 4
Views: 8195

Re: Solving stochastic gams model multiple times in gams

Hello
Thank you very much , I followed your instruction and now it is ok. There is no error ı could obtain results.

Best regards
by karacat
3 years ago
Forum: Tools
Topic: Solving stochastic gams model multiple times in gams
Replies: 4
Views: 8195

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...
by karacat
3 years ago
Forum: Tools
Topic: Solving stochastic gams model multiple times in gams
Replies: 4
Views: 8195

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...
by karacat
3 years ago
Forum: Tools
Topic: Multiple run of Stochastic programming emp extension
Replies: 4
Views: 4954

Re: Multiple run of Stochastic programming emp extension

this is my code at the attached file to understand my mistake clearly
SSP_tek ürünlü _emp_v2.gms
(2.13 KiB) Downloaded 298 times
by karacat
3 years ago
Forum: Tools
Topic: Multiple run of Stochastic programming emp extension
Replies: 4
Views: 4954

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...
by karacat
3 years ago
Forum: Tools
Topic: Multiple run of Stochastic programming emp extension
Replies: 4
Views: 4954

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...