I am faced with a problem for an assignment. I have tried restricting roads by using a restriction attribute with the following pre-logic script code with value = restricted
restricted = false if [REST_STREET]= "Y" then restricted = true end if
The problem I am faced with when solving the closest facility is that these restricted roads do not allow contiguous roads to be traversable due to the restricted road intersecting with it.
I have based the restriction on this question How to restrict portions of road network from the analysis in ArcGIS 10 Network Analyst?. Maybe I should just delete the roads I do not need?