This is probably also why apps like LibreLink don't provide predictions but only show historical data - easier to not get sued if you don't give the user advice that could kill them?
Re models, differential equations and finding minima: I do agree genetic algo is a bit wonky, and the greedy random walk at the bottom was able to get similar results. Do you have some resources for optimizing a N_51 x N_51 x N_51 x N_51 -> R+ unknown black-box function? My googling led me to eg. Metropolis-Hastings algorithm, but I don't currently get it (the translation to the probability domain escapes me). You're mentioning shooting method and bisection, I'll take a look at those.