Search found 72 matches

by GabrielYin
6 years ago
Forum: Syntax
Topic: Stochastic Programming with multiple stochastic parameters
Replies: 2
Views: 2858

Re: Stochastic Programming with multiple stochastic parameters

Hi Lutz, I had them obey the same discrete distribution. And I have found a solution, that GAMS can only recognize variables in all notations instead of set. So, I should write the codes as: $onput stage 1 y(’n1’) y(’n2’) stage 2 u(’n1’) u(’n2’) v(’n1’) v(’n2’) d(’n1’) d(’n2’) w(’m1’) w(’m2’) w (’m3...
by GabrielYin
6 years ago
Forum: Syntax
Topic: Stochastic Programming with multiple stochastic parameters
Replies: 2
Views: 2858

Stochastic Programming with multiple stochastic parameters

Hi dudes, I have one problem with the SP in GAMS. When I run a simple code with multiple stochastic terms, denoted by n, such as d(n), the output returns "System Failure", which I could not identify what happened. Here is my part of stochastic definition: File emp / '%emp.info%' /; put emp...