Modelling with sum

Problems with modeling
Post Reply
Someone
User
User
Posts: 4
Joined: 2 years ago

Modelling with sum

Post by Someone »

Hi , have some problems I have to code a function with gams, but I'm getting an error i,j,k are in the sets my equation p(i)*(k-j+1)*x(i,j,k) i have to write with sum but i'm getting error 148, how can fix that?
abhosekar
Moderator
Moderator
Posts: 295
Joined: 3 years ago

Re: Modelling with sum

Post by abhosekar »

Your question is not clear. Are you using sum() operator? what is exactly the error message?

- Atharv
alpzhan7
User
User
Posts: 4
Joined: 2 years ago

Re: Modelling with sum

Post by alpzhan7 »

ccccccc
Post Reply