'node-to-node length in GAMS
I have a question I am trying to solve in GAMS. I have the pattern which I have the length between some of them and need to find the length between some other which consist of these known lengths nodes in between. in another words:
length
n1.n2 13 , n2.n7 10 , n7.n5 5;
now I want to find the lenght between n1.n5 which is the summation of n1.n2 and n2.n7 and n7.n5. I need a function that finds the lenght of n1.n5(sum(n1.n2,n2.n7,n7.n5)) I should mention that I have large number of data and I need a function which can do summation of for instance 8 nodes which might have different numbering. can you help me with this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
