You will find here the files for the practical session of the Interface course Stochastic Optimization for Large-Scale Systems
You can download the files from this repository (use the green button on the top right) and run them from the jupyter notebooks (Help for IJulia). Installation instruction are given at the end of this description.
- JuMPCrashcourse (very simple tutoriel to start working with notebooks, julia and JuMP)
- Newsvendor is the first practical work
- flower-girl question 1 and 2
- flower-girl question 4 and 5
- SDDP
You can either install Julia from your package manager or
- Download the code
- Unzip the files somewhere
- Make a symbolic link e.g.
sudo ln -s ~/julia/julia-1.2.0-linux-x86_64/julia-1.2.0/bin/julia /usr/local/bin/julia
(Warning : adress should be absolute, not relative)
You can now run julia from the terminal simply calling julia
Then you need to install some package from the julia prompt
- enter
]
add IJulia JuMP GLPK
precompile
build IJulia
Ctrl - C
using IJulia
notebook(detached=true)
- Download the code
- double click and follow instructions
- launch julia and enter
]
update
add IJulia JuMP GLPK
precompile
build IJulia
Ctrl - C
using IJulia
notebook(detached=true)