I am trying to find the least-cost path between 2 points. The problem I am having is that if I use point A as source and point B as destination, I get a value, but when I do the opposite i.e., use point B as source and point A as destination I get another value for the least-cost path. I need to have the same distance whatever source or destination I am using; is that possible? Is there a way to ask ArcGIS to find the least-cost path that would result in the same distance whatever the source and destination as long as I am using the same two points? thanks
If your points A and B are point features, there could be a snapping issue when (internally) converting to raster. It is safer to use a raster as input, making sure that the "snap raster" is activated.
On the other hand, it is theoretically possible to have two (or more) "best path", so you would need to add additional constraint to chose your "preferred one".