Applied Optimization with Julia
University of Hamburg - Fall 2025
To prepare for the upcoming lectures, we start by installing the Julia Programming Language and an Integrated Development Environment (IDE) to work with Julia.
If you are ever asked to add something to your “PATH”, do so!
Hello World!
Hello World! → perfect!Don’t worry if it is not running right away. We will fix this together!
.jl or .ipynb files as notebookIf you use .jl files, you can also put them under version control with Git, as you will see later in this lecture.
Julia on the rightjl file and save it.jl files do not work for you, you can also click on Jupyter.ipynbfile which you can use directly as notebooktutorial_v1.jl and tutorial_v2.jlIf you have any questions, feel free to ask!
You don’t need to use Git, but once you get used to it it becomes invaluable, especially if you are working with a lot of code!
You can also synchronize your repository with GitHub or other hosting services. Then, your code is saved in a remote location, making it accessible from anywhere and allowing collaboration with others.
.jl file)Start using Git from day one! Even for small projects, it’s a good habit to develop.
Don’t forget to save your notebook before uploading it to OpenOlat!
The assignments are not mandatory, but highly recommended!
And that’s it for this lecture!
The remaining time we will already start working on the first problems.
Lauwens, B., & Downey, A. B. (2019). Think Julia: How to think like a computer scientist (First edition). O’Reilly®. Link to the free book website.
For more interesting literature to learn more about Julia, take a look at the literature list of this course.
Lecture II - First Steps in Julia | Dr. Tobias Vlćek | Home