Compilation Error

Problems with modeling
Post Reply
audreyadurey
User
User
Posts: 2
Joined: 1 year ago

Compilation Error

Post by audreyadurey »

Hello! I am a newbie in GAMS modeling, I am modeling our system but it is not running because the objective is not a variable. Can someoneone help me fix this :(
Attachments
tag1.png
tag2.png
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: Compilation Error

Post by bussieck »

In GAMS you optimize an objective variable which is equivalent to an objective function, so replace timeobj by zgoal.

-Michael
Post Reply