Big-M Restriction
Posted: Sun Dec 20, 2020 7:22 pm
Hey folks,
I am currently working on a GAMS-implementation for my work at University. Since this is my first time working with GAMS I would really appreciate your help!
Enough chitchat:
I am trying to work out a way to implement a Big-M restriction and for some reason, I just can't get it to work. I'll post the work that I have accomplished so far, ignore the german notes haha..
My BigM Restrictions are in Lines 71-73, 97-107 and 139-141 .
Basically, this is what I want to do: BigM =g= max(sum((t), DP(t)), sum((t), DR(t)), sum((t), OU(t))) , but no matter what code I try, i always get a malfunctioning code... Maybe my code itself is wrong, or am i just missing something... The version attached to this thread has BigM-settings set to 999999999999, just because its the only way I get this to work ..
Any suggestions?
Festive greetings
friehs
I am currently working on a GAMS-implementation for my work at University. Since this is my first time working with GAMS I would really appreciate your help!
Enough chitchat:
I am trying to work out a way to implement a Big-M restriction and for some reason, I just can't get it to work. I'll post the work that I have accomplished so far, ignore the german notes haha..
My BigM Restrictions are in Lines 71-73, 97-107 and 139-141 .
Basically, this is what I want to do: BigM =g= max(sum((t), DP(t)), sum((t), DR(t)), sum((t), OU(t))) , but no matter what code I try, i always get a malfunctioning code... Maybe my code itself is wrong, or am i just missing something... The version attached to this thread has BigM-settings set to 999999999999, just because its the only way I get this to work ..
Any suggestions?
Festive greetings
friehs