Search found 2 matches

by lawrence
6 years ago
Forum: Modeling
Topic: a question about Gams modeling
Replies: 2
Views: 2757

Re: a question about Gams modeling

Hi Renger,

Your code is very helpful and my problem is solved now. Thank you very much!

Lawrence
by lawrence
6 years ago
Forum: Modeling
Topic: a question about Gams modeling
Replies: 2
Views: 2757

a question about Gams modeling

I am facing a problem with Gams modeling, and will be very appreciated if someone can help me. I define: set t variable x(t). I want to express this equation as a constraint in my model: x(t=T)>=sum(t,x(t<=T-1)) which means the variable x at time slot t should be equal or larger than the sum of x at...