I am doing an optimisation problem where I am trying to find the optimal path. For the path I am moving on edges that pass through nodes. The nodes are numbered and the edge