Summation with limits

Problems with syntax of GAMS
Post Reply
Faourkh123
User
User
Posts: 1
Joined: 2 years ago

Summation with limits

Post by Faourkh123 »

Hi,
If the objective function is :
Max H= ∑ 4zzz+ 2c - e(t)

Where the summation is limited by t=1 and t=24.

What is the syntax equation of this objective function?
Knowing that I have defined zzz and c as positive integer.
But what about e(t), should I declare it or not ?
Thank you.
Faourkh
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: Summation with limits

Post by bussieck »

From your description it is unclear how to answer here. Why don't you post the code you already have and then someone in the forum might be able to help. -Michael
Post Reply