Optimize a graph traversal algorithm to find the most efficient routing path under dynamic constraints for Meta Logistics.