How I can code this formula with if operator ?

Problems with modeling
Post Reply
muratrsc
User
User
Posts: 4
Joined: 9 months ago

How I can code this formula with if operator ?

Post by muratrsc » 8 months ago

Hello friens,

How I can code 'h' on this formula with GAMS ? Can I code with if operator ? Can you help me ? :?:
Attachments
kaynakkısıtı.png
kaynakkısıtı.png (7.71 KiB) Viewed 446 times

User avatar
Renger
Posts: 554
Joined: 3 years ago

Re: How I can code this formula with if operator ?

Post by Renger » 8 months ago

Hi
Have a look at this post.
Cheers
Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist

muratrsc
User
User
Posts: 4
Joined: 9 months ago

Re: How I can code this formula with if operator ?

Post by muratrsc » 7 months ago

Renger wrote:
8 months ago
Hi
Have a look at this post.
Cheers
Renger
Thank you for your help. I have a question, too.

I have a dynamic problem and I want to solve it with reactive procedure which has two levels. On first level, problem will be solved statically and a solution will be obtained.
After that on second level, a distruption will be occured and some problem datas will be changed (now, I am making this change on another GAMS model, but I want it must be on same GAMS model like dynamic model) so model must be run itself maybe on loop and some distruption decisions must be taken by dynamic model.

So how can I code this dynamic model ? Can you help me? Is there any loop examples like this or dynamic models which make decisions and guide the solution itself ?

Post Reply