MS-E2121 - Linear Optimization D, Lecture, 9.1.2023-13.4.2023
This course space end date is set to 13.04.2023 Search Courses: MS-E2121
Topic outline
-
Using Julia
In our course, we will refer to several examples implemented in Julia, using packages such as JuMP and Plots, among many others. Julia is a modern language that combines simplicity and remarkable performance. The main website for downloading the language is http://www.julialang.org. This is also the main place for finding the information you might need.
There are a few options to use Julia during this course (with no order of preference!).
- The first option is to use Aalto JupyterHub with Julia. The platform can be accessed from https://jupyter.cs.aalto.fi. Following this link, you will be able to log on with your personal Aalto account credentials and choose the Julia environment (Julia: General use (JupyterLab)) on the next page. In this case, all the necessary packages are preinstalled. This is a better option if you are not familiar with installing/ utilising open-source programming languages.
- The second option is to install Julia on your personal device. The recommended version of Julia is 1.7.0 (or higher) with the most recent packages. You can find instructions on how to install it at http://www.julialang.org. This is a better option if you are familiar with installing/ utilising an open-source programming language (such as Python). We use Jupyter notebooks for exercises, and you will need to start by installing the IJulia package after you have installed Julia. For instructions on how to use the Julia package manager, see the documentation. After that, you will need to install the packages you need (for the pretask and first session, these are JuMP, Cbc and Plots).
Pre-task before the course starts
Before the first online session, you need to download this example notebook and be able to open and run it without errors. This will certify that you configured your environment correctly if you did it yourself (second option above) or that your space on the Aalto Jupyterlab server is working correctly. If you have trouble, please contact the head TA.
Resources
We will show the basics of installing and using packages in the exercise session, but you will need to learn by yourself how to use the language for the purposes of the course. Below you can find some helpful links for self-studying. Please let us know if you find others worth including.
- Aalto Scientific Computing Julia course (check for ongoing editions):
- Julia Intro Tutorial (youtube):
- Online course (Coursera): https://www.coursera.org/learn/julia-programming?siteID=jU79Zysihs4-bQyfouT8rdwMmp13AHiHFQ&utm_content=10&utm_medium=partners&utm_source=linkshare&utm_campaign=jU79Zysihs
- Online short course: (Julia Academy): https://juliaacademy.com/
-
Pretask notebook File IPYNB