How could i force the shortest path finder to go through some specific points ?
i have used 20 points (from to line ) , and my network .
and 10 points,i would like the path to go through them if there is a path .
i used the shortest path finder to find the shortest path and it works great but i have some points , in network .i would like to go through this point if there is a path .
as example , i have Pt.a - Pt.b (i found the path in network between A - but i have some points inside the network as Pt.c ,i would like to check if there is a path through pt.c or not even if it is longer .
so, if there is a path then the path will be A-C-B ,
if not ,the path will be A-B .
i think , i should add to cost attribute but i am not sure ,how could i consider the Points.
Thanks for help .