On-the-fly Optimization Algorithm. We developed and tested an algorithm for the on-the-fly optimization of computational resources used by MD TI simulations to predict small molecule binding energies as shown in Fig. : Starting from the equilibrated structure, an initial short production simulation was performed and the 𝑑𝑉 𝑑𝜆 gradient time series (Eq. 3) was extracted.