where ε is a fixed cost of performing the reaction. This score is effective in ranking the route predictions based on the length and if the start material is in stock. However, the score will not differentiate by routes with similar shapes. Therefore, we can have more than one route prediction at the same rank.