How to optimize discrete-event systems from a single sample path by the score function method · Study