I'm a little confused with some of the output that's coming from my solves and I'd like to get clarification...
When I'm using prefer/avoid restrictions I'm not sure if I should be returning a true or a false. The way I have it set up now is... for the prefers, I return a false if the node meets my preference condition. For an avoid, I return a true if the node meets my avoidance condition.
Are you setting up prefer/avoid restrictions on your network dataset? If so, the restriction should evaluate to True regardless of whether you want to avoid or prefer the network element. The Restriction Usage parameter that is created by default with any restriction attribute determines whether the restricted elements should be completely prohibited, avoided, or preferred.
Are you setting up prefer/avoid restrictions on your network dataset? If so, the restriction should evaluate to True regardless of whether you want to avoid or prefer the network element. The Restriction Usage parameter that is created by default with any restriction attribute determines whether the restricted elements should be completely prohibited, avoided, or preferred.