Retrospective optimization of discrete stochastic systems using simplicial linear interpolation