Hi Cristoforo.
I don't want all combinations. I only want paths. For example, from node 0 only two paths are possible - 0-200 and 0-1800. So to go from 0-2000 there are only,
(
0-200,
200-400,
400-600,
600-800,
800-1000,
1000-2000),
(
0-1800,
1000-2000)
and (
0-200,
0-1800,
1000-2000)
which is what i want my program to output.