CS/ECE/ISyE 524 Introduction to Optimization Spring 2017–18
Julia tutorial
❼ Introduction ❼ Some useful pointers ❼ Getting started ❼ Julia syntax ❼ Plots in Julia ❼ Learning JuMP ❼ Submitting a notebook
Laurent Lessard (www.laurentlessard.com)
Julia tutorial Introduction Some useful pointers Getting started - - PowerPoint PPT Presentation
CS/ECE/ISyE 524 Introduction to Optimization Spring 201718 Julia tutorial Introduction Some useful pointers Getting started Julia syntax Plots in Julia Learning JuMP Submitting a notebook Laurent Lessard
CS/ECE/ISyE 524 Introduction to Optimization Spring 2017–18
Laurent Lessard (www.laurentlessard.com)
2
◮ designed for scientific computing but with the functionality
◮ simple efficient syntax similar to Matlab ◮ dynamic language with speed comparable to statically
◮ designed for parallelism and distributed computation ◮ can call Python and C functions directly ◮ IJulia notebooks ◮ free and open-source
3
◮ use is not widespread. Engineering community uses mostly
◮ popular in classrooms at many schools, unclear whether it
◮ does not have the same level of support as other languages.
◮ weak toolboxes and packages compared to other languages.
◮ no good IDE (Juno is buggy and still crashes a lot), which
◮ plotting still has a long way to go.
4
5
AT
6
7
8
9
10
11
12
◮ In Jupyter, use File → Download as → “PDF via LaTeX”.
◮ Print the webpage directly to PDF. Results can vary wildly
13
14
15
16