Modeling the equation with lots of sums

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

Modeling the equation with lots of sums

Post by heartofglass »

hi, do anyone knows how to code this in games? a little example would be fine :)
image.png
image.png
Manassaldi
User
User
Posts: 118
Joined: 7 years ago
Location: Rosario - Argentina

Re: Modeling the equation with lots of sums

Post by Manassaldi »

hello, this is an example. You must define the necessary variables and sets
image.png
image.png (7.23 KiB) Viewed 1164 times
in GAMS:
sum((i,j,q,p),X(i,j,q,p)*C1(i,j,q,p))

best
Post Reply