Search found 2 matches

by aycaaltay
6 years ago
Forum: Syntax
Topic: Constraint involving cumulative sums
Replies: 2
Views: 2881

Re: Constraint involving cumulative sums

Yes, it worked and I learnt it! Thank you very much
by aycaaltay
6 years ago
Forum: Syntax
Topic: Constraint involving cumulative sums
Replies: 2
Views: 2881

Constraint involving cumulative sums

Hi. I am new to the most parts of GAMS and I couldn't figure out how to write a constraint. - I have a set i and its alias j. - I also have set k. - The variable is y(i,j,k). - I have a parameter of p(j) and a scalar M. - The constraint is for every j and k, and goes as this y(i,j,k)= M- p(k)* ( y(1...