As metrics and attributes can vary from one switching node and connected link to another, there is a need to determine a path through a network that is optimal with respect to each metric and attribute, such an optimal path minimizing a metric or either maximizing or minimizing an attribute, as appropriate.