Originally posted by: Nomykan
Hi everyone,
i have a small problem and i got the problem solved but now the problem is that i got too many warnings in the solution. i solved the problem for small network but if i do it for large network i think it will be too much time consuming. help regarding this issue is required. for simplicity i have a network consisting of nodes and lines. each line has a starting node and an ending node like L1= from node 1 to 2, L2 from node 2 to 3 and so on. i declared in my model as
range nodes=1..n;
float line[nodes][nodes]=...;
dvar float flow[nodes][nodes];
what would be the better option to use arrays or tuples in this case?
this works fines but as many of the configurations of the nodes are not used so i got too many warnings. i have attached the simple example here with this post. help in this regard will be appreciated. Thanks
#DecisionOptimization#MathematicalProgramming-General