Choose the optimal pathway