Supplementary code for the manuscript: Randomized quasi-Monte Carlo methods for risk-averse stochastic optimization
This repository contains supplementary code for the manuscript
Olena Melnikov and Johannes Milz, 2024, Randomized quasi-Monte Carlo methods for risk-averse stochastic optimization, https://doi.org/10.48550/arXiv.2408.02842
We establish epigraphical and uniform laws of large numbers for sample-based approximations of law invariant risk functionals. Our sample-based approximation schemes include Monte Carlo (MC) and certain randomized quasi-Monte Carlo integration (RQMC) methods, such as scrambled net integration. Our results can be applied to the approximation of risk-averse stochastic programs and (simple) risk-averse stochastic variational inequalities. Our numerical simulations empirically demonstrate that RQMC approaches based on scrambled Sobol' sequences can yield smaller bias and root mean square error than MC methods for risk-averse optimization.
The simulations were run using Julia version 1.9.3 and macOS 13.4 (Mac14,7, Apple M2).
To download the package, execute
git clone [email protected]:olena-melnikov/RQMC.git
cd to RQMC via
cd RQMC
Following 4. Working with Environment, execute the following command in your Pkg REPL:
activate .
and subsequently
instantiate
To reproduce the simulations in the paper, run the shell script:
cd demo
./run_simulation.sh
This process will generate a separate folder for each experiment within the results directory. Each folder will be named after the experiment and the time it was conducted. Inside the folder, you will find all relevant simulation data in both .jld2 and .txt formats, as well as the corresponding plots.
The module has been implemented by Olena Melnikov.