Maximizing a maximum

Problems with syntax of GAMS
Post Reply
suprafluid
User
User
Posts: 6
Joined: 3 weeks ago

Maximizing a maximum

Post by suprafluid » 3 weeks ago

Hello everyone,

I am developing a model for the purpose of finding out the maximum power needed for an application. The power p needed per timestep t depends on eight different objects i, hence p(i,t). I want to maximize the objective function P, which should be a single instance maximum of all power(t) defined by

Code: Select all

power(t)=sum(i,p(i,t))
I am experimenting with smax here, but can't really figure out how to use it properly. Do you have any suggestions?

Best regards
supra

Post Reply