Optimization examples in Julia using the JuMP package from the StaffJoy team.
This repository is built for development using Vagrant. Vagrant provides local development virtual machines. Booting the associated Vagrant virtual machine in this repository installs all dependencies so that you can focus on the code.
Install Vagrant and Virtualbox.
- Run
vagrant up
. This boots the virtual machine. Installation the first time will take a long time because the Ubuntu linux image must be downloaded and the dependencies must be compiled from source. - To enter the VM, run
vagrant ssh
. The repository folder is synced to/vagrant/
and you can find examples in thesrc
folder. All the tools you need - including Julia and solvers - are already installed. - When done, exit any SSH sessions and run
vagrant halt
to end the virtual machine.
If you run into issues, it's possible that the base virtual image must be updated. To do this, run vagrant destroy
, then rebuild the machine with vagrant up
.
You can modify code either inside or outside of the virtual machine - it will sync immediately. To run the code, run vagrant ssh
to enter the instance, go to the source code folder with cd /vagrant/src/
, then execute code with julia <file.jl>
.
This repository has been used in the following presentations:
- Feb 21 2015 - Philip Thomas on Predictive Analytics at SQuInT Breakout Sessions (Slides)