https://9dok.net/document/zx560jkv-sample-average-approximation-method-stochastic-discrete-optimization.html