How to code a complex indexed variable in Gams?
Posted: Wed Dec 16, 2020 5:43 pm
Hello all,
I have diffuculties to code the equation in the image attached, I will appreciate if someone can help me.
My sets are:
I set of nodes
K set of all transportation modes
T set of time units
Alias (i, j, h)
Alias (k, m)
Parameter
𝛕ijk travel time(hour) from node i to node j with mode k
y and Iy are decision variables.
I have diffuculties to code the equation in the image attached, I will appreciate if someone can help me.
My sets are:
I set of nodes
K set of all transportation modes
T set of time units
Alias (i, j, h)
Alias (k, m)
Parameter
𝛕ijk travel time(hour) from node i to node j with mode k
y and Iy are decision variables.